Re: OR query strange results

2018-11-19 Thread Danilo Tomasoni
Hello, any ideas on this? Thank you Danilo On 16/11/18 08:48, Danilo Tomasoni wrote: Thank you for your reply Erick. I've thought about termsquery but it doesn't support phrase search AFAIK, and I want to query for near words like "Mycobacterium tuberculosis" and also i would like to use

Re: OR query strange results

2018-11-15 Thread Danilo Tomasoni
Thank you for your reply Erick. I've thought about termsquery but it doesn't support phrase search AFAIK, and I want to query for near words like "Mycobacterium tuberculosis" and also i would like to use the tilde syntax "Mycobacterium tuberculosis"~2 . Does it exists a parser for that, so t

Re: OR query strange results

2018-11-15 Thread Erick Erickson
You're using edismax which has the "mm" parameter that you can think of as a sliding scale between pure OR and pure AND. What happens if you set it to zero? As for maxboolean clauses, the easiest/fasted way around that would be to use an "fq" clause and the TermsQueryParser. Best, Erick On Thu, N