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 Churchill Nanje Mambe <ma...@afrovisiongroup.com> on 2011/02/17 12:50:08 UTC

fine tuning the solr search

Hi
 I would love to know how to do this with solr
 say a user inputs "Account manager files",
 I wish that solr puts priority on the documents it finds as follows
 1) documents containing account manager files gets a greater score
 2) then documents with account manager come next
 3) then documents with account can come
 before the other words are used to get documents in the search

right now I think it works different as it finds documents with
accounts and puts them like in first position or documents with word
manager in second position or so

thanks
-- 
Mambe Churchill Nanje
237 33011349,
AfroVisioN Founder, President,CEO
http://www.afrovisiongroup.com | http://mambenanje.blogspot.com
skypeID: mambenanje
www.twitter.com/mambenanje

Re: fine tuning the solr search

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi,

In short, the bigger the overlap of query and document, the higher the 
document's relevance to the query.  This is an oversimplification, of course, 
but that's the general idea (and it doesn't match what you listed below).

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Churchill Nanje Mambe <ma...@afrovisiongroup.com>
> To: solr-user@lucene.apache.org
> Sent: Thu, February 17, 2011 6:50:08 AM
> Subject: fine tuning the solr search
> 
> Hi
>  I would love to know how to do this with solr
>  say a user inputs  "Account manager files",
>  I wish that solr puts priority on the documents it  finds as follows
>  1) documents containing account manager files gets a  greater score
>  2) then documents with account manager come next
>  3) then  documents with account can come
>  before the other words are used to get  documents in the search
> 
> right now I think it works different as it finds  documents with
> accounts and puts them like in first position or documents  with word
> manager in second position or so
> 
> thanks
> -- 
> Mambe  Churchill Nanje
> 237 33011349,
> AfroVisioN Founder, President,CEO
> http://www.afrovisiongroup.com | http://mambenanje.blogspot.com
> skypeID:  mambenanje
> www.twitter.com/mambenanje
> 

Re: fine tuning the solr search

Posted by Markus Jelsma <ma...@openindex.io>.
Have a read:
http://lucene.apache.org/java/2_9_1/scoring.html

On Thursday 17 February 2011 12:50:08 Churchill Nanje Mambe wrote:
> Hi
>  I would love to know how to do this with solr
>  say a user inputs "Account manager files",
>  I wish that solr puts priority on the documents it finds as follows
>  1) documents containing account manager files gets a greater score
>  2) then documents with account manager come next
>  3) then documents with account can come
>  before the other words are used to get documents in the search
> 
> right now I think it works different as it finds documents with
> accounts and puts them like in first position or documents with word
> manager in second position or so
> 
> thanks

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350