Remove the stopFilter from the "index" section of your fieldType, only keep it
in the "query" section. This way your stopwords will always be indexed and
edismax will be able to selectively remove stopwords from the query depending
on whether all words are stopwords or not.
--
Jan Høydahl, sear
Your problem statement is fairly odd. You say
you've defined "object" as a stopword, but then
you want your query to return documents that
contain "object". By definition stopwords are
something that is considered irrelevant for searching
and are ignored.
So why not just take "object" out of your
Hi,
I am using the standard edismax parser and my example query is as follows:
{!edismax qf='object_description ' rows=10 start=0 mm=-40% v='object'}
In this case, 'object' happens to be a stopword in the StopWordsFilter in my
datatype 'object_description'. Now, since 'object' is not indexe