PySolr : How to boost a field for Solr document

Adding a Quick note –¬†PySolr : How to boost a field for Solr document

Index time boosting

conn.add(docs, boost={'author': '2.0',})

Query time boosting

qf=title^5 content^2 comments^0.5

Read:

http://java.dzone.com/articles/options-tune-document%E2%80%99s

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *