Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-4514: Make Scorer.freq() well defined: number of matches in doc

Robert Muir87f549a1f8c3
diff --cc lucene/CHANGES.txt
index 88040a7ecd8,1f0f329f7e1..e24ee87e344
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@@ -18,6 -18,6 +18,14 @@@ Changes in backwards compatibility poli
======================= Lucene 4.1.0 =======================
++Changes in backwards compatibility policy
++
++* LUCENE-4514: Scorer's freq() method returns an integer value indicating
++ the number of times the scorer matches the current document. Previously
++ this was only sometimes the case, in some cases it returned a (meaningless)
++ floating point value. Scorer now extends DocsEnum so it has attributes().
++ (Robert Muir)
++
New Features
* LUCENE-4226: New experimental StoredFieldsFormat (in lucene/codecs) that