Re: Ignoring “de la” at index or search time

2019-02-24 Thread Erick Erickson
Case 1. Stopwords are irrelevant. If you sreach field:(a AND b) you're asking if both appear in the field, and that's the only question. It doesn't matter what other words are in the field. It doesn't matter whether they're close to each other. Case 2. Yep. On Sun, Feb 24, 2019, 17:02 baris.kazar

Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
There is PhraseQuery, too, but lets consider two cases: case1: that PhraseQuery is not being used: then should i add to standard filter’s stopwords also the french stopwords both at index & search times? can i just add them at search time and keep old index as it is? [gotta disable this editing

Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
There is PhraseQuery, too, but lets consider two cases: case1: that PhraseQuery is not being used: then should i add to standard filter’s stopwords also the french stopwords both at index & search times? can i just add them at search time and keep old friends index as it is? case2: that PhraseQ

Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
That is not what i am looking for. Thanks. c b search string finds a b but how cant find a de la b so i will try french stopwords. Doing that i am using 8 queries like the ones i mentioned. Best > On Feb 24, 2019, at 1:19 PM, Erick Erickson wrote: > > Phrase search is looking for words next t

Re: Ignoring “de la” at index or search time

2019-02-24 Thread Erick Erickson
Phrase search is looking for words next to each other. A phrase search on the text “my dog has fleas” would succeed for “my dog” or “has fleas” but not “my fleas” since the words are not right next to each other. “my fleas”~3 would succeed because the “~3” indicates that the words can have inter

Re: Ignoring “de la” at index or search time

2019-02-24 Thread baris.kazar
i guess so what is phrase search? c b is searched do you expect a de la b? Thanks > On Feb 24, 2019, at 10:49 AM, Erick Erickson wrote: > > Not sure we’re talking about the same thing. I was talking specifically about > _phrase_ searches. If all you want is the clause you just said, phrases are

Re: Ignoring “de la” at index or search time

2019-02-24 Thread Erick Erickson
Not sure we’re talking about the same thing. I was talking specifically about _phrase_ searches. If all you want is the clause you just said, phrases are not involved at all and the presence or absence of intervening words is totally unnecessary. This assumes your field type tokenizes the input