You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by mpcmarcos <mp...@gmail.com> on 2013/09/19 18:11:36 UTC

Problem with stopword

Hello everybody, 

I have a problem with stopwords, I have an index with some stopwords and
when I search by one of them only, solr dont select any document. ¿How can I
fix this? I need all the documents.

Example:

*Stopwords*: hello, goodbye
*Query*: http://localhost:8893/solr/select?q=hello
*DebugQuery*: <str name="parsedquery_toString"/>
*Total Results*: 0

I try do this with e dismax, but only works if I do a call to solr without
"q", no when "q" is empty by stopwords.

http://localhost:8983/solr/select?q=&defType=edismax&q.alt=*:*



Thank you.



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

Re: Problem with stopword

Posted by Furkan KAMACI <fu...@gmail.com>.
Firstly, you  houl read here:

https://cwiki.apache.org/confluence/display/solr/Running+Your+Analyzer

Secondly, when you write a quey stop word are filtered from your query if
you use stop word analyzer so there will not be anything else to search.

19 Eylül 2013 Perşembe tarihinde mpcmarcos <mp...@gmail.com> adlı
kullanıcı şöyle yazdı:
> Hello everybody,
>
> I have a problem with stopwords, I have an index with some stopwords and
> when I search by one of them only, solr dont select any document. ¿How
can I
> fix this? I need all the documents.
>
> Example:
>
> *Stopwords*: hello, goodbye
> *Query*: http://localhost:8893/solr/select?q=hello
> *DebugQuery*: <str name="parsedquery_toString"/>
> *Total Results*: 0
>
> I try do this with e dismax, but only works if I do a call to solr without
> "q", no when "q" is empty by stopwords.
>
> http://localhost:8983/solr/select?q=&defType=edismax&q.alt=*:*
>
>
>
> Thank you.
>
>
>
> --
> View this message in context:
http://lucene.472066.n3.nabble.com/Problem-with-stopword-tp4091064.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>