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
-
Method Summary
Modifier and TypeMethodDescriptionlong
Real result count on index.A list of all documents matching the query.void
setNumFound
(long numFound) void
-
Constructor Details
-
FulltextSearchResponseImpl
public FulltextSearchResponseImpl()
-
-
Method Details
-
setResults
-
getResults
Description copied from interface:FulltextSearchResponse
A list of all documents matching the query.- Specified by:
getResults
in interfaceFulltextSearchResponse
- Returns:
- resulted documents
-
setNumFound
public void setNumFound(long numFound) -
getNumFound
public long getNumFound()Description copied from interface:FulltextSearchResponse
Real result count on index. If a limit is set in the query, the result might not contain all results.- Specified by:
getNumFound
in interfaceFulltextSearchResponse
- Returns:
- all possible results (without any permission check)
-