lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dheerajjoshim <dheeraj.ma...@gmail.com>
Subject Tokenizing on logical operators
Date Tue, 23 Jul 2013 10:54:42 GMT
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


Mime
View raw message