I think somehow the discussion has gotten confused, so we really need to start over.

1. Make sure you're using the most current schema version.
2. Make sure autoGeneratePhraseQueries is set explicitly the way you want it, based on #1 above. 3. Yes, stop filter should remove sop words. No question. If it isn't, lets track down and see why and report a bug if necessary. 4. Restate the problem, very clearly, in plain English (after performing steps #1 and #2). Please reread your reply carefully before clicking the send button and make sure you are using negatives properly - you've confused the discussion here by failing to do so on at least one occasion, and possibly in this latest response although I can't tell for sure. 5. We'll confirm either any mistakes you've made, recommendations, and whether there are any bugs.

Fair enough?

-- Jack Krupansky

-----Original Message----- From: heaven
Sent: Sunday, August 24, 2014 11:02 AM
To: solr-user@lucene.apache.org
Subject: Re: Help with StopFilterFactory

Unfortunately I can't change the operator and phrase query for
"https://twitter.com/testuser"; doesn't work as well.

It does work for "twitter.com/testuser" but that makes no sense since I then
can simply use old schema version or autoGenereratePhaseQueries=true and ask
users to remove http/www from urls manually. But then I have a reasonable
question, what then the StopFilterFactory is supposed to do if users still
have to remove blacklisted keywords? It sounds lie a bug to me because stop
filter factory only prevents words from being added to the index, but they
still affect search.

It should generate phases after solr.StopFilterFactory (if one is defined
for a field). Or there should be another mechanism to remove blacklisted
words like if there were no such words at all so they simply disappear.



--
View this message in context: http://lucene.472066.n3.nabble.com/Help-with-StopFilterFactory-tp4153839p4154795.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to