If you want to do a exact match (case sensitive) in Solr, you should have a
string type field and the query should be made as fieldname:value

However, reading your mail I get the feeling that the query is actually
being made by Carrot2.

On Fri, Sep 4, 2009 at 7:41 AM, bhaskar chandrasekar
<bas_s...@yahoo.co.in>wrote:

> Hi shalin,
>
> Thanks for your reply.
> I am not sure as how the query is formed in Solr.
> If you could throw some light on this , it will be helpful.
> Is it achievable?.
>
> Regards
> Bhaskar
>
>
> --- On Thu, 9/3/09, Shalin Shekhar Mangar <shalinman...@gmail.com> wrote:
>
>
> From: Shalin Shekhar Mangar <shalinman...@gmail.com>
> Subject: Re: Exact Word Search
> To: solr-user@lucene.apache.org
> Date: Thursday, September 3, 2009, 5:14 AM
>
>
> On Thu, Sep 3, 2009 at 1:33 PM, bhaskar chandrasekar
> <bas_s...@yahoo.co.in>wrote:
>
> > Hi,
> >
> > Can any one help me with the below scenario?.
> >
> > Scenario :
> >
> > I have integrated Solr with Carrot2.
> > The issue is
> > Assuming i give "bhaskar" as input string for search.
> > It should give me search results pertaining to bhaskar only.
> >  Example: It should not display search results as "chandarbhaskar" or
> >  "bhaskarc".
> >  Basically search should happen based on the exact word match. I am not
> > bothered about case sensitive here
> >  How to achieve the above Scenario in Carrot2 ?.
> >
>
> Bhaskar, I think this question is better suited for the Carrot mailing
> lists. Unless you yourself control how the solr query is created, we will
> not be able to help you.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
>
>
>
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to