Re: How can you simulate inOrder in boolean queries

2006-02-07 Thread Erik Hatcher
The source code to Lucene in Action (www.lucenebook.com) has an example of extending the built-in QueryParser to use SpanNearQuery for in-order phrase searching instead of the default unordered PhraseQuery behavior. That example will show how to use SpanNearQuery made up of SpanTermQuery's

Re: How can you simulate inOrder in boolean queries

2006-02-07 Thread Paul Elschot
On Tuesday 07 February 2006 22:06, RONALD MANTAY wrote: > Hi, can any one help, I am new to lucene. > > Due to requiring a specific Query syntax, I have created a bespoke query parser to build a boolean query which at any time may comprising a mixture of : > > a) Fuzzy terms with

How can you simulate inOrder in boolean queries

2006-02-07 Thread RONALD MANTAY
Hi, can any one help, I am new to lucene. Due to requiring a specific Query syntax, I have created a bespoke query parser to build a boolean query which at any time may comprising a mixture of : a) Fuzzy terms with similarity level set according to length of term.text b) Wild C