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/Tokenize-String-using-Operators-Logical-Operator-operator-etc-tp4079673.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org