I have several field types and like to assign correct boosting so that I will get results in correct order. Here is a summary of what I have: 1- Product Title - text field , Boost = 160 2- Product Description - text field , Boost = 80 3-Number of clicks - Integer field, having value [1 TO 1000] , Boost = 40 4- Product Features - text field , Boost = 20 5- AmountPurchased - Float field , Boost = 10 5- Product Properties - text field , Boost = 5
User will make a search q= "foo bar" and we expect solr will return results based on Boost values assigned above. qf and pf can help me to assign boosting for text fields easily. But I am having difficulty to mix text fields with numeric ones. For example, I want product with Number of clicks = 20 should be listed higher than one with 10 clicks after 1) and 2). I guess solr, based on search results, will re order based boost values in text fields but I want product with number of clicks 10 will be higher than with clicks 5. As result, any products having clicks will have higher ranks that products that has features that includes search keywords. I hope I have explained correctly, Can you please guide me on how to solve this issue? Regards Erol Akarsu -- View this message in context: http://lucene.472066.n3.nabble.com/Boosting-mixed-fiedl-types-tp4169469.html Sent from the Solr - User mailing list archive at Nabble.com.