Hi,
This seems to be a tricky issue judging from the other replies. I'm just
thinking out of the box now and the following options come to mind:
1) can you store the timestamp in the session in your middleware for each
user? This way it stays fixed and doesn't change the order between requests.
y 22, 2011 6:03 PM
> To: solr-user@lucene.apache.org
> Subject: Sort Stability With Date Boosting and Rounding
>
> I'm trying to use
>
> http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents
> as
> a bf parameter to my dismax handler
No, the problem is that, due to rounding, sometimes the docs ARE considered
ties, and therefore the secondary sort is used, but sometimes they don't
round to exactly equal, and the tiebreaker isn't used, and the results get
shuffled.
Stephen Duncan Jr
www.stephenduncanjr.com
On Tue, Feb 22, 2011
The problem comes when you have results that are all the same natural score
(because you've filtered them, with no primary search, for instance), and
are very close together in time. Then, as you page through, the order
changes. So the user experience is that they see duplicate documents, and
mis
Hi,
You're right, it's illegal syntax to use other functions in the ms function,
which is a pity indeed.
However, you reduce the score by 50% for each year. Therefore paging through
the results shouldn't make that much of a difference because the difference in
score with NOW+2 minutes has a ne
You could always use a secondary sort as a tie-breaker, i.e: something
unique like 'documentid' or something. That would ensure a stable sort.
2011/2/23 Stephen Duncan Jr
> I'm trying to use
>
> http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents
> as
> a bf
Stability With Date Boosting and Rounding
I'm trying to use
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents
as
a bf parameter to my dismax handler. The problem is, the value of NOW can
cause documents in a similar range (date value within a few seconds of
I'm trying to use
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents
as
a bf parameter to my dismax handler. The problem is, the value of NOW can
cause documents in a similar range (date value within a few seconds of each
other) to sometimes round to be equal