RE: QueryParsing

2004-10-19 Thread Rupinder Singh Mazara
Search topic in the URL http://jakarta.apache.org/lucene/docs/queryparsersyntax.html Regards Rupinder -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 18 October 2004 21:05 To: Lucene Users List Subject: Re: QueryParsing QueryParser does not (currently) support

RE: QueryParsing

2004-10-19 Thread Morus Walter
Rupinder Singh Mazara writes: hi erik and everyone else ok i will buy the book ;) but this still does not solve the problem of why String x = \jakarta apache\~100; is being transalted as a PhraseQuery FULL_TEXT:jakarta apache~100 is the correct query beining formed ? or is

RE: QueryParsing

2004-10-19 Thread Rupinder Singh Mazara
thank you Morus this makes things very clear to me Regards Rupinder -Original Message- From: Morus Walter [mailto:[EMAIL PROTECTED] Sent: 19 October 2004 10:05 To: Lucene Users List Subject: RE: QueryParsing Rupinder Singh Mazara writes: hi erik and everyone else ok i will buy

Re: QueryParsing

2004-10-18 Thread Erik Hatcher
QueryParser does not (currently) support SpanQuery's. PhraseQuery is what you'll always get with double-quoted strings. However, you can customize the behavior and get a SpanQuery instead by subclassing and overriding getPhraseQuery. In fact, this is an example I wrote for Lucene in Action.