Interface FulltextSearchResponse
- All Known Implementing Classes:
FulltextSearchResponseImpl
public interface FulltextSearchResponse
A data transfer object for a fulltext index search response.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A data transfer object for a result document (i.e. -
Method Summary
Modifier and TypeMethodDescriptionlong
Real result count on index.A list of all documents matching the query.
-
Method Details
-
getResults
Iterable<FulltextSearchResponse.Document> getResults()A list of all documents matching the query.- Returns:
- resulted documents
-
getNumFound
long getNumFound()Real result count on index. If a limit is set in the query, the result might not contain all results.- Returns:
- all possible results (without any permission check)
-