Package eu.xenit.alfred.api.search
Class SearchQuery
java.lang.Object
eu.xenit.alfred.api.search.SearchQuery
Represents a search query with search options. query: The query itself without any options. paging: Options related
to paging. facets: options related to facets. orderBy: List which represent in which order the results should be
returned. consistency: Options related to consistency. Is defaulted by eventual consistency. highlight: Options
related to term hit highlighting, similar to the Alfresco 5.2.4 API
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidsetConsistency(SearchQueryConsistency consistency) voidsetFacets(SearchQuery.FacetOptions facets) voidsetHighlight(SearchQuery.HighlightOptions highlights) voidvoidsetOrderBy(List<SearchQuery.OrderBy> orderBy) voidsetPaging(SearchQuery.PagingOptions paging) voidsetQuery(SearchSyntaxNode query) voidsetWorkspace(StoreRef workspace)
-
Constructor Details
-
SearchQuery
public SearchQuery()
-
-
Method Details
-
getQuery
-
setQuery
-
getConsistency
-
setConsistency
-
getFacets
-
setFacets
-
getLocale
-
setLocale
-
getPaging
-
setPaging
-
getOrderBy
-
setOrderBy
-
getHighlight
-
setHighlight
-
getWorkspace
-
setWorkspace
-