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 bhaskar chandrasekar <ba...@yahoo.co.in> on 2009/08/20 11:48:44 UTC
Fetching Query Results from Solr
Hi,
I am using Solr to retrive records and display them thru carrot.
Assuming that i give "Google" as search , it will display me all the records relating to that.
It should give me exact word search only.
It shld not look for combination of words in the search query and display them.
How can i restrict Solr to achieve the same.
Regards
Bhaskar
Re: Fetching Query Results from Solr
Posted by Erik Hatcher <er...@gmail.com>.
I think you need to elaborate a bit more ... I don't understand what
you're asking. Exact word search only? What is not working as you'd
like/expect currently?
Erik
On Aug 20, 2009, at 7:35 AM, bhaskar chandrasekar wrote:
>
> Hi,
>
> Which Java class needs to be modified to get the exact search
> results in Solr.
> either
>
> 1) SearchServlet.java
> 2) SolrQuerySession.java
> 3) SolrQuery.java
>
> and where it should be modified.
>
> Scenario:
> I am using Solr to retrive records and display them thru carrot.
> Assuming that i give "Google" as search , it will display me all the
> records relating to that.
> It should give me exact word search only.
> It shld not look for combination of words in the search query and
> display them.
> How can i restrict Solr to achieve the same.
>
> Regards
> Bhaskar
>
> --- On Thu, 8/20/09, bhaskar chandrasekar <ba...@yahoo.co.in>
> wrote:
>
>
> From: bhaskar chandrasekar <ba...@yahoo.co.in>
> Subject: Fetching Query Results from Solr
> To: solr-user@lucene.apache.org
> Date: Thursday, August 20, 2009, 2:48 AM
>
>
> Hi,
>
> I am using Solr to retrive records and display them thru carrot.
> Assuming that i give "Google" as search , it will display me all the
> records relating to that.
> It should give me exact word search only.
> It shld not look for combination of words in the search query and
> display them.
> How can i restrict Solr to achieve the same.
>
> Regards
> Bhaskar
>
>
>
>
>
Re: Fetching Query Results from Solr
Posted by bhaskar chandrasekar <ba...@yahoo.co.in>.
Hi,
Which Java class needs to be modified to get the exact search results in Solr.
either
1) SearchServlet.java
2) SolrQuerySession.java
3) SolrQuery.java
and where it should be modified.
Scenario:
I am using Solr to retrive records and display them thru carrot.
Assuming that i give "Google" as search , it will display me all the records relating to that.
It should give me exact word search only.
It shld not look for combination of words in the search query and display them.
How can i restrict Solr to achieve the same.
Regards
Bhaskar
--- On Thu, 8/20/09, bhaskar chandrasekar <ba...@yahoo.co.in> wrote:
From: bhaskar chandrasekar <ba...@yahoo.co.in>
Subject: Fetching Query Results from Solr
To: solr-user@lucene.apache.org
Date: Thursday, August 20, 2009, 2:48 AM
Hi,
I am using Solr to retrive records and display them thru carrot.
Assuming that i give "Google" as search , it will display me all the records relating to that.
It should give me exact word search only.
It shld not look for combination of words in the search query and display them.
How can i restrict Solr to achieve the same.
Regards
Bhaskar