This isn't a bug. During pf3 matching, since your query has only three tokens, the entire query will be treated as a single phrase, and with slop = 0, any word that comes in the middle of your query - 'de' in this case will cause the phrase to not be matched. If you want to get around this, try setting your slop = 1 in which case it should match Gare Saint Lazare even with the de in it.
On Mon, Dec 14, 2015 at 7:22 PM elisabeth benoit <elisaelisael...@gmail.com> wrote: > Hello, > > I am using solr 4.10.1. I have a field with stopwords > > > <filter class="solr.StopFilterFactory" ignoreCase="1" words="stopwords.txt" > enablePositionIncrements="true"/> > > And I use pf2 pf3 on that field with a slop of 0. > > If the request is "Gare Saint Lazare", and I have a document "Gare de Saint > Lazare", "de" being a stopword, this document doesn't get the pf3 boost, > because of "de". > > I was wondering, is this normal? is this a bug? is something wrong with my > configuration? > > Best regards, > Elisabeth > -- Regards, Binoy Dalal