Re: Clarifications of minimum should match parameter and optional clauses in eDisMax

2024-01-04 Thread Mikhail Khludnev
Hello Anna. Agreed. It's a little bit counterintuitive, but described explicitly in the braced note here https://lucene.apache.org/core/9_7_0/core/org/apache/lucene/search/BooleanQuery.Builder.html#setMinimumNumberShouldMatch(int) To achieve what you need > set to 0, meaning that all clauses are

Clarifications of minimum should match parameter and optional clauses in eDisMax

2024-01-04 Thread Anna Ruggero
Hi everyone, I have this query that uses the Boolean Query Parser: *http://localhost:8983/solr/books/select ?* *q={!bool filter=$**categoryIds** should=$queryTerms}&* *categoryIds**=**category:(1 2 5 7)**&* *queryTerms=**content**:(user text)* I would like