public static interface Hits.Builder extends CopyableBuilder<Hits.Builder,Hits>
Modifier and Type | Method and Description |
---|---|
Hits.Builder |
cursor(String cursor)
A cursor that can be used to retrieve the next set of matching documents when you want to page through a
large result set.
|
Hits.Builder |
found(Long found)
The total number of documents that match the search request.
|
Hits.Builder |
hit(Collection<Hit> hit)
A document that matches the search request.
|
Hits.Builder |
hit(Hit... hit)
A document that matches the search request.
|
Hits.Builder |
start(Long start)
The index of the first matching document.
|
copy
apply, build
Hits.Builder found(Long found)
The total number of documents that match the search request.
found
- The total number of documents that match the search request.Hits.Builder start(Long start)
The index of the first matching document.
start
- The index of the first matching document.Hits.Builder cursor(String cursor)
A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.
cursor
- A cursor that can be used to retrieve the next set of matching documents when you want to page through
a large result set.Hits.Builder hit(Collection<Hit> hit)
A document that matches the search request.
hit
- A document that matches the search request.Hits.Builder hit(Hit... hit)
A document that matches the search request.
hit
- A document that matches the search request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.