Re: QueryParser, double quotes and wilcard inside the double quotes

2012-07-05 Thread Israel Tsadok
s/weird/word/ Sorry, autocorrect. On Jul 5, 2012 4:01 PM, "Israel Tsadok" wrote: > A hacky trick I used was put a stop weird instead of the asterisk. If you > search for "foo a test" and use an analyzer that includes a stop filter > (like StandardAnalyzer does), it will match docs 1 and 2. > > On

Re: QueryParser, double quotes and wilcard inside the double quotes

2012-07-05 Thread Israel Tsadok
A hacky trick I used was put a stop weird instead of the asterisk. If you search for "foo a test" and use an analyzer that includes a stop filter (like StandardAnalyzer does), it will match docs 1 and 2. On Jul 4, 2012 10:13 AM, "Jochen Hebbrecht" wrote: > > Thanks Ian, I'll give it a try! > > 20

Re: QueryParser, double quotes and wilcard inside the double quotes

2012-07-04 Thread Jochen Hebbrecht
Thanks Ian, I'll give it a try! 2012/7/3 Ian Lea > You can use the QueryParser proximity feature e.g. "foo test"~n where > n is the max distance you want them to be apart. Or look at the > SpanQuery stuff e.g. SpanNearQuery. > > > -- > Ian. > > > On Tue, Jul 3, 2012 at 4:59 PM, Jochen Hebbrecht

Re: QueryParser, double quotes and wilcard inside the double quotes

2012-07-03 Thread Ian Lea
You can use the QueryParser proximity feature e.g. "foo test"~n where n is the max distance you want them to be apart. Or look at the SpanQuery stuff e.g. SpanNearQuery. -- Ian. On Tue, Jul 3, 2012 at 4:59 PM, Jochen Hebbrecht wrote: > Hi all, > > Imagine you have the following books which ar