public abstract class SearchDocs extends SearchResults<DocResults>
Constructor and Description |
---|
SearchDocs(QueryInfo queryInfo) |
Modifier and Type | Method and Description |
---|---|
SearchFacets |
facet(List<DocProperty> facets)
Facet the doc results by several properties.
|
SearchDocs |
filter(DocProperty property,
PropertyValue value)
Get hits with a certain property value.
|
SearchDocGroups |
group(DocProperty groupBy,
int maxResultsToGatherPerGroup)
Group hits by a property.
|
SearchDocs |
sample(SampleParameters par)
Sample hits.
|
SearchDocs |
sort(DocProperty sortBy)
Sort hits.
|
SearchDocs |
window(int first,
int number)
Get window of hits.
|
count, count, docCount, docCount, hitCount, hitCount
cancelSearch, equals, execute, executeAsync, executeInternal, getFromCache, getFromCacheBlock, hashCode, queryInfo, toString
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fetchAllResults, log, toString
public SearchDocs(QueryInfo queryInfo)
public SearchDocGroups group(DocProperty groupBy, int maxResultsToGatherPerGroup)
groupBy
- what to group bymaxResultsToGatherPerGroup
- how many results to gather per grouppublic SearchDocs sort(DocProperty sortBy)
sortBy
- what to sort bypublic SearchDocs sample(SampleParameters par)
par
- how many hits to sample; seedpublic SearchDocs filter(DocProperty property, PropertyValue value)
property
- property to testvalue
- value to test forpublic SearchDocs window(int first, int number)
first
- first hit to selectnumber
- number of hits to selectpublic SearchFacets facet(List<DocProperty> facets)
facets
- facets to facet onCopyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.