Re: Tokenize String using Operators(Logical Operator, : operator etc)

2013-07-24 Thread dheerajjoshim
Greetings, I have wrote a custom tokenizer class which extends lucene tokenizer class. Thanks for all replies Regards DJ -- View this message in context: http://lucene.472066.n3.nabble.com/Tokenize-String-using-Operators-Logical-Operator-operator-etc-tp4079673p4080225.html Sent from the Luce

Re: Tokenize String using Operators(Logical Operator, : operator etc)

2013-07-23 Thread lukai
JavaCC or antlr would be your choice. On Tue, Jul 23, 2013 at 4:19 AM, dheerajjoshim 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

Re: Tokenize String using Operators(Logical Operator, : operator etc)

2013-07-23 Thread Erick Erickson
I really don't see what the use-case here is. When you say "later", what does that mean? You're indexing what and querying how? Best Erick On Tue, Jul 23, 2013 at 7:19 AM, dheerajjoshim wrote: > Greetings, > > I am looking a way to tokenize the String based on Logical operators > > Below String