lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isan Fulia <>
Subject Solr stopword problem in Query
Date Mon, 26 Sep 2011 10:09:38 GMT
Hi all,

I have a text field named* textForQuery* .
Following content has been indexed into solr in field textForQuery
*Coke Studio at MTV*

when i fired the query as
*textForQuery:("coke studio at mtv")* the results showed 0 documents

After runing the same query in debugMode i got the following results

<result name="response" numFound="0" start="0"/>
<lst name="debug">
<str name="rawquerystring">textForQuery:("coke studio at mtv")</str>
<str name="querystring">textForQuery:("coke studio at mtv")</str>
<str name="parsedquery">PhraseQuery(textForQuery:"coke studio ? mtv")</str>
<str name="parsedquery_toString">textForQuery:"coke studio *? *mtv"</str>

Why the query did not matched any document even when there is a document
with value of textForQuery as *Coke Studio at MTV*?
Is this because of the stopword *at* present in stopwordList?

Thanks & Regards,
Isan Fulia.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message