Hi,

I am interested in writing a plugin, where the recency of the document,
would also be a determinant as far as relevance/scoring is concerned. I
don't want to sort by date, but would rather like to boost the score for
pages which are most recently indexed.

Have tried adding range queries using a custom query filter, which creates
queries of the form -

<query> AND +(date:[20071215 TO 20071218]^3.0 date:[20071201 TO 20071214]^
2.0 date:[20071103 TO 20071201]^1.5 date:[00000000 TO 20071102])^1.0


But I am not sure whether this is a good way or whether including date range
clauses would have an adverse impact on performance.
Am I missing something? Is there a better way of doing this? Any help would
be much appreciated.

Regards,
Chris

Reply via email to