Package eu.xenit.alfred.api.search
Class SearchQueryResult
java.lang.Object
eu.xenit.alfred.api.search.SearchQueryResult
Datastructure that represents the result of a search. noderefs: The list of noderefs that fulfill the search. facets:
The facets available on the search result.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongvoidsetFacets(List<FacetSearchResult> facets) voidsetHighlights(Highlights highlights) voidsetNoderefs(List<String> noderefs) voidsetTotalResultCount(long totalResultCount) toString()
-
Field Details
-
totalResultCount
public long totalResultCount
-
-
Constructor Details
-
SearchQueryResult
public SearchQueryResult()
-
-
Method Details
-
getNoderefs
-
setNoderefs
-
addResult
-
getFacets
-
setFacets
-
getTotalResultCount
public long getTotalResultCount()- Returns:
- Returns the total number of results for the search query. Depending on if the query is executed against the database or Solr this will include the skipped results or not.
-
setTotalResultCount
public void setTotalResultCount(long totalResultCount) -
getHighlights
-
setHighlights
-
toString
-