Changeset 30050 for gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/util/SolrQueryResult.java
- Timestamp:
- 2015-07-21T05:35:34+12:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/util/SolrQueryResult.java
r29142 r30050 28 28 29 29 import java.util.List; 30 import java.util.Map; 30 31 31 32 import org.apache.solr.client.solrj.response.FacetField; … … 41 42 { 42 43 protected List<FacetField> _facetResults = null; 44 protected Map<String,Map<String,List<String>>> _highlightResults = null; 43 45 SolrQueryResult() 44 46 { 45 47 super(); 46 48 } 47 48 49 public void setFacetResults(List<FacetField> facetResults) 49 50 { … … 55 56 return _facetResults; 56 57 } 58 //Save highlighting snippets 59 public void setHighlightResults(Map<String,Map<String,List<String>>> highlightResults){ 60 _highlightResults = highlightResults; 61 } 62 //Extract highlighting snippets 63 public Map<String,Map<String,List<String>>> getHighlightResults(){ 64 return _highlightResults; 65 } 66 57 67 }
Note:
See TracChangeset
for help on using the changeset viewer.