Re: requiring both

2017-02-22 Thread Rick Leir
Google handles this query (apparently) by having '&' as a synonym for AND, then finding the 3 word phrase "johnson & johnson". On 2017-02-22 10:35 AM, John Blythe wrote: hi all. how would you handle a query like "johnson AND johnson"? i don't want something that has "author: linden b. johnson

Re: requiring both

2017-02-22 Thread Chris Hostetter
: how would you handle a query like "johnson AND johnson"? i don't want : something that has "author: linden b. johnson" to hit, only things that : actually have two occurrences. I'm not even sure if/how that would be possible using the underlying lucene Query objects available -- IIUC the Boole

requiring both

2017-02-22 Thread John Blythe
hi all. how would you handle a query like "johnson AND johnson"? i don't want something that has "author: linden b. johnson" to hit, only things that actually have two occurrences. currently using standard handler, not e/dismax. only thing i can think of currently is to migrate to dismax and when