Commit 5ac30a195e6cb9bbb8893b3af311acb8634a08e0

Authored by Gethin James
1 parent c4cade2ade
Exists in master

SEARCH-106: Add hightlighting to the ResultSet

src/main/java/org/alfresco/service/cmr/search/ResultSetSPI.java
... ... @@ -189,6 +189,12 @@ public interface ResultSetSPI<ROW extends ResultSetRow, MD extends ResultSetMeta
189 189 public Map<String, Integer> getFacetQueries();
190 190  
191 191 /**
  192 + * Gets the highlighting results. Returns a Map keyed by noderef.
  193 + * Each value is a pair of "fieldname" and a String array of highlight snippets
  194 + * @return the Map
  195 + */
  196 + public Map<NodeRef, List<Pair<String, List<String>>>> getHighlighting();
  197 + /**
192 198 * Gets the spell check result
193 199 *
194 200 * @return SpellCheckResult
... ...