lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Warawdekar <rahul.warawde...@gmail.com>
Subject Re: Solr stopword problem in Query
Date Mon, 26 Sep 2011 15:49:19 GMT
Hi Isan,

Does your search return any documents when you remove the 'at' keyword and
just search for "Coke studio MTV" ?
Also, can you please provide the snippet of schema.xml file where you have
mentioned this field name and its "type" description ?

On Mon, Sep 26, 2011 at 6:09 AM, Isan Fulia <isan.fulia@germinait.com>wrote:

> 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.
>



-- 
Thanks and Regards
Rahul A. Warawdekar

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