lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "none none" <>
Subject Re: Within Search
Date Mon, 10 Jun 2002 20:19:39 GMT
 thanks, i saw the queryparser documentation and works fine.
now how can i make the query operator like 'AND', 'OR', etc, case insensitive? also how can
i change the '~' to 'w/' ?
I really don't know how use JavaCC, but may be for someone is easy,
someone can help me?
thank you.

On Mon, 10 Jun 2002 09:01:29  
 none none wrote:
>i asked some help about this feature some time ago, but no answer.
>What do i need to do is the WithinPhraseSearch. An example can be:
>search for:  "car w/10 rent".
>This mean, look for documents that contains 'car' and within 10 words 'rent'. So, what
i think i need is:
>1.Change the QueryParser.jj to reconize the operator "w/xx" as the within operator.
>2.The QueryParser should return a PhraseQuery with a "slop" factor equals to '10' for
the example above. Should also ignore "w/xx" if xx is not numeric.
>An other question: what should i do if i want the query operator (AND,OR,NOT,etc) to be
case insensitive? what should i change inside the QueryParser.jj ? 
>PLEASE HELP, because i really don't know how to use the "JavaCC" utility.
>WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
>on the big Island. Enter Now!
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message