Thanks for your feedback!
To better understand your answer I would like to consider the following code /
example:
My code currently kind of looks like
int k = 3;
String question = "How old is Michael?";
IndexSearcher searcher =new IndexSearcher(indexReader);
float[] queryVector = getEmbedding(
I think it would be good to provide something like a VectorRerankField
(sorry for the bad name, maybe FastVectorField would be amusing too),
that just stores vectors as docvalues (no HNSW) and has a
newRescorer() method that implements
org.apache.lucene.search.Rescorer. Then its easy to do as that
fetch all the search results along with their corresponding values for all
the terms used for scoring and then you use those values and play-around
with them and re-rank your results to your hearts content/wish.
--kk
On Wed, Jul 15, 2009 at 11:28 AM, henok sahilu wrote:
> what i want to do is re
How would you like to re-rank? Simple sorting can be handled through
the Sort capability, other re-ranking is going to depend on what you
want to do.
On Jul 14, 2009, at 1:00 PM, henok sahilu wrote:
hello there
i want to re-rank the lucene result set.in other words i want to re -
order th