lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis.gospodne...@gmail.com>
Subject Re: Tokenizing on logical operators
Date Tue, 23 Jul 2013 11:52:54 GMT
Hi,

You should use the user list for this, not dev.

Have a look at Lucene's query parser.

Otis
--
Solr & ElasticSearch Support -- http://sematext.com/
Performance Monitoring -- http://sematext.com/spm



On Tue, Jul 23, 2013 at 6:54 AM, dheerajjoshim <dheeraj.madhu@gmail.com> wrote:
> Greetings,
>
> I am looking a way to tokenize the String based on Logical operators
>
> Below String needs to be tokenized as
> *arg1:aaa,bbb AND arg2:ccc OR arg3:ddd,eee,fff*
>
> Token 1: arg1:aaa,bbb
> Token 2: arg2:ccc
> Token 3: arg3:ddd,eee,fff
>
> Later i want to fetch each token and tokenize them again on ":" operator.
>
> Is there a library already available? or i should be creating a custom
> library for this?
>
> If you could point at any similar examples that could also help
>
> Regards
> DJ
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Tokenizing-on-logical-operators-tp4079667.html
> Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message