Re: Altering the query if query contains all stopwods

2018-03-12 Thread Ryan Yacyshyn
Alright, thanks. Yeah, the SuggestStopFilterFactory gets closer but isn't what I'm looking for in this case! Ryan On Sat, 10 Mar 2018 at 06:12 Rick Leir wrote: > Tav, Ryan > Now you have me wondering, should it be returning *:* or some general > landing page. > > Suppose you had typeahead or

Re: Altering the query if query contains all stopwods

2018-03-09 Thread Rick Leir
Tav, Ryan Now you have me wondering, should it be returning *:* or some general landing page. Suppose you had typeahead or autocomplete, it should ignore any stopwords list. By the way, people on this list have had good reasons why we should stop using stopwords. Cheers -- Rick On March 9, 201

Re: Altering the query if query contains all stopwods

2018-03-09 Thread tapan1707
Hello Ryan, Solr has a Filter class called solr.SuggestStopFilterFactory, which basically works similar to solr.StopFilterFactory but with a slight modification that if all of the words are present in stopwords.txt then it won't remove the last one. I am not sure about wildcard search but if all o

Altering the query if query contains all stopwods

2018-03-08 Thread Ryan Yacyshyn
Hi all, I'm wondering if its possible to change/alter the query after it has been analyzed by the stopword filter? For example, if my query contains all stopwords then I'll get zero results because the query is empty. I'd like to have a condition to change the query so that if the query happens t