Bool Filter - Does "should" has an effect if "must" is defined?

Hi,

in Lucene, filter doesn't affect the computation of the score of the
non-filtered documents.
So if i use a bool filter with "should" it should have no effect if I
also use "must".

Is that correct?

Yes, if its a filter.

On Mon, Sep 26, 2011 at 2:49 PM, maho mathias.hodler@gmail.com wrote:

Hi,

in Lucene, filter doesn't affect the computation of the score of the
non-filtered documents.
So if i use a bool filter with "should" it should have no effect if I
also use "must".

Is that correct?

Thank you.

I was little bit confused, because in the example all three bool
operators are used: Elasticsearch Platform — Find real-time answers at scale | Elastic.

On 2 Okt., 09:57, Shay Banon kim...@gmail.com wrote:

Yes, if its a filter.

On Mon, Sep 26, 2011 at 2:49 PM, maho mathias.hod...@gmail.com wrote:

Hi,

in Lucene, filter doesn't affect the computation of the score of the
non-filtered documents.
So if i use a bool filter with "should" it should have no effect if I
also use "must".

Is that correct?