Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-1822: add a note in Changes in runtime behavior

Koji Sekiguchi9bc9c92626b7
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index baca0d52ccc..993d8e6452e 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -431,6 +431,13 @@ Changes in Runtime Behavior
This only affects requests with depth>1. If you execute such requests and
rely on the facet results being returned flat (i.e. no hierarchy), you should
set the ResultMode to GLOBAL_FLAT. (Shai Erera, Gilad Barkai)
+
+* LUCENE-1822: Improves the text window selection by recalculating the starting margin
+ once all phrases in the fragment have been identified in FastVectorHighlighter. This
+ way if a single word is matched in a fragment, it will appear in the middle of the highlight,
+ instead of 6 characters from the beginning. This way one can also guarantee that
+ the entirety of short texts are represented in a fragment by specifying a large
+ enough fragCharSize.
Optimizations