Re: Prioritising certain documents in the search results

2023-02-01 Thread Robert Muir
check out https://lucene.apache.org/core/9_5_0/core/org/apache/lucene/document/FeatureField.html I think this is how you want to do it: it has some suggestions on how to start without training the actual values in the docs, see "if you don't know where to start" On Wed, Feb 1, 2023 at 12:03 PM

Prioritising certain documents in the search results

2023-02-01 Thread Trevor Nicholls
Hi I'm currently using Lucene 8-6.3, and indexing a few thousand documents. Some of these documents need to be prioritised in the search results, but not by too much; e.g. an exact phrase match in a normal document still needs to top the rankings ahead of a priority document that just matches