Both the fields are "text" type:

<field name="description" type="text" indexed="true" stored="true"
required="false" />
<field name="title" type="text" indexed="true" stored="true"
required="false" />

How "&debugQuery=true" will help? I am not familiar with the output.

Thanks,
Sunil

-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 28, 2008 2:33 PM
To: solr-user@lucene.apache.org
Subject: Re: Exact match

Look at what Solr returns when adding &debugQuery=true for the parsed  
query, and also consider how your fields are analyzed (their  
associated type, etc).

        Erik


On Jul 28, 2008, at 4:56 AM, Sunil wrote:

> Hi,
>
> I am sending a request to solr for exact match.
>
> Example: (title:("Web 2.0" OR "Social Networking") OR description:  
> ("Web
> 2.0" OR "Social Networking"))
>
>
> But in the results I am getting stories matching "Social", "Web" etc.
>
> Please let me know what's going wrong.
>
> Thanks,
> Sunil
>



Reply via email to