From ac95528aab9a3ba3702cd9a57f1fad457acc7839 Mon Sep 17 00:00:00 2001 From: Koji Sekiguchi Date: Tue, 3 Aug 2010 15:45:07 +0000 Subject: [PATCH] SOLR-2021: Add SolrEncoder plugin to Highlighter git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981936 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 2 + solr/example/solr/conf/solrconfig.xml | 70 ++++++++++--------- .../solr/common/params/HighlightParams.java | 1 + .../highlight/DefaultSolrHighlighter.java | 35 +++++++++- .../solr/highlight/SolrHighlighter.java | 4 ++ 5 files changed, 78 insertions(+), 34 deletions(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 3cb8af47be2..d6effe55afc 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -220,6 +220,8 @@ New Features to dates. (Gijs Kunze, hossman) +* SOLR-2021: Add SolrEncoder plugin to Highlighter. (koji) + Optimizations ---------------------- diff --git a/solr/example/solr/conf/solrconfig.xml b/solr/example/solr/conf/solrconfig.xml index 27ca190e909..9d54b246d54 100755 --- a/solr/example/solr/conf/solrconfig.xml +++ b/solr/example/solr/conf/solrconfig.xml @@ -978,45 +978,49 @@ true + - - - - - - 100 - - + + + + + + 100 + + - - - - - 70 - - 0.5 - - [-\w ,/\n\"']{20,200} - - + + + + + 70 + + 0.5 + + [-\w ,/\n\"']{20,200} + + - - - - ]]> - ]]> - - + + + + ]]> + ]]> + + - - + + - - + + - - - + + + + + +