public final class SearchResults extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SearchResults.Doc
Holder for a hit.
|
Modifier and Type | Method and Description |
---|---|
List<SearchResults.Doc> |
getHits()
Returns the documents of the current page.
|
int |
getOffset()
Returns the offset of the current page.
|
TotalHits |
getTotalHits()
Returns the total number of hits for this query.
|
int |
size()
Returns the size of the current page.
|
public TotalHits getTotalHits()
public int getOffset()
public List<SearchResults.Doc> getHits()
public int size()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.