Im basically trying to understand how results are ranked. Whats the algorithm 
behind it

--- Original Message ---

From: "Shawn Heisey-4 [via Lucene]" <ml-node+s472066n4129688...@n3.nabble.com>
Sent: 7 April 2014 19:24
To: "azhar2007" <azhar2...@outlook.com>
Subject: Re: Ranking code



On 4/7/2014 10:29 AM, azhar2007 wrote:
> Hi does anybody know where the ranking code is held. Which file in Solr
> stores it the solr schema.xml or solrconfig.xml file?

Your question is very generic.  It needs to be more specific -- what are
you actually trying to do?

The generic answer is "both" ... query parameters that affect relevancy
ranking can go in solrconfig.xml or included on an individual query.
You can change which similarity class is used in schema.xml.  The
analysis chain and field parameters you choose can also affect relevancy
ranking, and those live in schema.xml.

https://wiki.apache.org/solr/SchemaXml#Similarity
https://wiki.apache.org/solr/SolrRelevancyFAQ

The actual code is not in either file -- it's in the java source code
files that get compiled into Lucene and Solr.

Thanks,
Shawn





_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://lucene.472066.n3.nabble.com/Ranking-code-tp4129664p4129688.html

To unsubscribe from Ranking code, visit 
http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4129664&code=YXpoYXIyMDA3QG91dGxvb2suY29tfDQxMjk2NjR8MTIzMzkyMzQ3OQ==




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Ranking-code-tp4129664p4129820.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to