Good afternoon.
I need to uniquely identify a document inside of a Similarity class
during scoring. Is it possible to get value of unique key of a document
at this point?
For some time I though I can use internal docID for achieving that.
Method score(int doc, float freq) is called after eve
Thank you for your answer, Chris. I will reply with inline comments as
well. Please see below.
: I need to uniquely identify a document inside of a Similarity class during
: scoring. Is it possible to get value of unique key of a document at this
: point?
Can you tell us a bit more about your
how are you defining/specifying these field weights?
I define weights inside of a query (name:SomeName^7).
it would help if you could give a concrete example of some sample docs, a
sample query, and what results you would expect ... the sample input and
sample output of the system you are int
from all the examples of what you've described, i'm fairly certain all you
really need is a TFIDF based Similarity where coord(), idf(), tf() and
queryNorm() return 1 allways, and you omitNorms from all fields.
Yeah, that's what I did in the very first iteration. It works only for
cases #1 and