Solr boost examples
The index has a field named 'create_time' that is the timestamp of document created time. The query string can boost the latest created document like below,
There is another field named 'important' that indicates whether the document is important or not. The query string can boost the document is important like below,
Above query string uses a sub query in boost function.
Finally I want to boost both above two fields, and 'important' field has higher priority. The query string looks like below,