the both the standard score and the TF-only Score in a single index?
Sandy
-Original Message-
From: Grant Ingersoll [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2008 2:34 PM
To: java-user@lucene.apache.org
Subject: Re: Frequencies sorted by frequencies
I think you could override al
]
Sent: Wednesday, May 28, 2008 2:34 PM
To: java-user@lucene.apache.org
Subject: Re: Frequencies sorted by frequencies
I think you could override all the Similarity factors except tf() with
1, such that the term frequency is the only factor in the scoring.
Then you just submit the term as a
I think you could override all the Similarity factors except tf() with
1, such that the term frequency is the only factor in the scoring.
Then you just submit the term as a query. Note, I think you will need
to override the similarity during indexing, too, so that norm length
is turned of
Hi All,
I am trying to figure out a quick way to find the top N documents sorted
by frequency of a term.
I found:
IndexRead.termDocs()
which provides an enumeration of doc() and freq() but it returns an
enumeration sorted by doc number. Is there a way to get the results
sorted by freq? Or is