diff --git a/KeywordSearch/release/solr/solr/conf/schema.xml b/KeywordSearch/release/solr/solr/conf/schema.xml
index 2059d0f1fb..7af3175de7 100644
--- a/KeywordSearch/release/solr/solr/conf/schema.xml
+++ b/KeywordSearch/release/solr/solr/conf/schema.xml
@@ -209,7 +209,9 @@
-
+
+
+
@@ -221,8 +223,8 @@
-
-
+
+
-
+
+
diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/HighlightedMatchesSource.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/HighlightedMatchesSource.java
index 6e45b3651d..c2d994a757 100644
--- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/HighlightedMatchesSource.java
+++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/HighlightedMatchesSource.java
@@ -345,18 +345,15 @@ class HighlightedMatchesSource implements MarkupSource, HighlightLookup {
q.addFilterQuery(filterQuery);
q.addHighlightField(highLightField); //for exact highlighting, try content_ws field (with stored="true" in Solr schema)
- //need to use original highlighter (as opposed to snippets), because FVH does not seem to support fragsize=0 to get entire content
- //https://issues.apache.org/jira/browse/SOLR-1268?attachmentSortBy=dateTime
-
- q.setHighlightSimplePre(HIGHLIGHT_PRE); //original highlighter only
- q.setHighlightSimplePost(HIGHLIGHT_POST); //original highlighter only
- q.setHighlightFragsize(0); // don't fragment the highlight, works with original highlighter only
+ //q.setHighlightSimplePre(HIGHLIGHT_PRE); //original highlighter only
+ //q.setHighlightSimplePost(HIGHLIGHT_POST); //original highlighter only
+ q.setHighlightFragsize(0); // don't fragment the highlight, works with original highlighter, or needs "single" list builder with FVH
//tune the highlighter
- //q.setParam("hl.useFastVectorHighlighter", "on"); //fast highlighter scales better than standard one
- //q.setParam("hl.tag.pre", HIGHLIGHT_PRE); //makes sense for FastVectorHighlighter only
- //q.setParam("hl.tag.post", HIGHLIGHT_POST); //makes sense for FastVectorHighlighter only
- //q.setParam("hl.fragListBuilder", "simple"); //makes sense for FastVectorHighlighter only
+ q.setParam("hl.useFastVectorHighlighter", "on"); //fast highlighter scales better than standard one
+ q.setParam("hl.tag.pre", HIGHLIGHT_PRE); //makes sense for FastVectorHighlighter only
+ q.setParam("hl.tag.post", HIGHLIGHT_POST); //makes sense for FastVectorHighlighter only
+ q.setParam("hl.fragListBuilder", "single"); //makes sense for FastVectorHighlighter only
//docs says makes sense for the original Highlighter only, but not really
q.setParam("hl.maxAnalyzedChars", Server.HL_ANALYZE_CHARS_UNLIMITED);
diff --git a/NEWS.txt b/NEWS.txt
index 558e576e8b..7c9547c00f 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -4,6 +4,7 @@ New features:
Improvements:
- Keyword search indexing and search speed improvements
+- Improved keyword search highlighting in Text View: highlighted tokens are no longer white-space separated
- Remake of reporting UI and functionality
- Significant increase in reporting speed
- Documented report module API