lucene-solr-user mailing list archives

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



Hi,

My schema is like below
<fields>   
    <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"
/>
</fields>

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

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