lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven White <swhite4...@gmail.com>
Subject Influence ranking based on document committed date
Date Wed, 17 Aug 2016 14:00:42 GMT
Hi everyone

Let's say I search for the word "Olympic" and I get a hit on 10 documents
that have similar content (let us assume the content is at least 80%
identical) how can I have Solr rank them so that the ones with most
recently updated doc gets ranked higher?  Is this something I have to do at
index time or search time?

Is the trick to have a field that holds the committed timestamp and boost
on that field during search?  If so, is this field something I can
configure in Solr's schema.xml or must I index it and feed it the timestamp
at index time?  If I'm on the right track, does this mean I have to always
append this field base boost to each query a user issues?

If there is a wiki or article written on this topic, that would be a good
start.

In case it matters, I'm using Solr 5.2 and my searches are utilizing
edismax.

Thanks in advanced!

Steve

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