You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2017/05/22 20:57:24 UTC

lucene-solr:branch_6_6: LUCENE-7815: Deprecate the PostingsHighlighter

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6_6 e89ea1d69 -> c41a6f19a


LUCENE-7815: Deprecate the PostingsHighlighter

(cherry picked from commit c74f4a0)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c41a6f19
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c41a6f19
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c41a6f19

Branch: refs/heads/branch_6_6
Commit: c41a6f19a4685fa4a7acf304f109a6a2084321ab
Parents: e89ea1d
Author: David Smiley <ds...@apache.org>
Authored: Mon May 22 16:56:10 2017 -0400
Committer: David Smiley <ds...@apache.org>
Committed: Mon May 22 16:57:18 2017 -0400

----------------------------------------------------------------------
 lucene/CHANGES.txt                                                | 3 +++
 .../lucene/search/postingshighlight/PostingsHighlighter.java      | 2 ++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c41a6f19/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 5dd6bce..a810aa6 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -93,6 +93,9 @@ Other
 * LUCENE-7761: Fixed comment in ReqExclScorer.
   (Pablo Pita Leira via Adrien Grand)
 
+* LUCENE-7815: Deprecate the PostingsHighlighter. It evolved into the
+  UnifiedHighlighter. (David Smiley)
+
 ======================= Lucene 6.5.1 =======================
 
 Bug Fixes

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c41a6f19/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/PostingsHighlighter.java
----------------------------------------------------------------------
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/PostingsHighlighter.java b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/PostingsHighlighter.java
index e4d3667..64ae688 100644
--- a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/PostingsHighlighter.java
+++ b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/PostingsHighlighter.java
@@ -92,7 +92,9 @@ import org.apache.lucene.util.automaton.CharacterRunAutomaton;
  * <p>
  * This is thread-safe, and can be used across different readers.
  * @lucene.experimental
+ * @deprecated This evolved into the UnifiedHighlighter; use that instead.
  */
+@Deprecated
 public class PostingsHighlighter {
   
   // TODO: maybe allow re-analysis for tiny fields? currently we require offsets,