lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pragyanshis Pattanaik <>
Subject Calculate score according to another indexed field
Date Thu, 07 Feb 2013 13:58:47 GMT


My schema is like below
    <field name="ProductId" type="int" indexed="true" stored="true" />    
    <field name="ProductName" type="string" indexed="true" stored="true" required="true"
    <field name="ProductDesription" type="string" indexed="true" stored="true" required="true"
    <field name="ProductRating" type="int" indexed="true" stored="true" required="true"

Product name will be passed as q parameter to solr.
Is there a way to affect score on the basis of "ProductRating" which is not passed as query
parameter ?

Or I need to go to solr source code and change the ranking algorithm ?

Please Guide me.

Thanks in advance

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message