Class FulltextSearchResponseImpl
java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.FulltextSearchResponseImpl
- All Implemented Interfaces:
FulltextSearchResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.enterprisesearch.api.FulltextSearchResponse
FulltextSearchResponse.Document -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReal result count on index.A list of all documents matching the query.voidsetNumFound(long numFound) void
-
Constructor Details
-
FulltextSearchResponseImpl
public FulltextSearchResponseImpl()
-
-
Method Details
-
setResults
-
getResults
Description copied from interface:FulltextSearchResponseA list of all documents matching the query.- Specified by:
getResultsin interfaceFulltextSearchResponse- Returns:
- resulted documents
-
setNumFound
public void setNumFound(long numFound) -
getNumFound
public long getNumFound()Description copied from interface:FulltextSearchResponseReal result count on index. If a limit is set in the query, the result might not contain all results.- Specified by:
getNumFoundin interfaceFulltextSearchResponse- Returns:
- all possible results (without any permission check)
-