Fetching Query Results from Solr

2009-08-20 Thread bhaskar chandrasekar
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

2009-08-20 Thread bhaskar chandrasekar
 
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 bas_s...@yahoo.co.in wrote:


From: bhaskar chandrasekar bas_s...@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

2009-08-20 Thread Erik Hatcher
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 bas_s...@yahoo.co.in  
wrote:



From: bhaskar chandrasekar bas_s...@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