Constructor and Description |
---|
Search.Builder(String index,
String query) |
Modifier and Type | Method and Description |
---|---|
Search |
build() |
Search.Builder |
filter(String query) |
Search.Builder |
returnFields(Iterable<String> fields) |
Search.Builder |
returnFields(String... fields) |
Search.Builder |
sort(String field) |
<T> Search.Builder |
withOption(Search.Option<T> option,
T value) |
Search.Builder |
withPresort(Search.Presort presort) |
Search.Builder |
withRows(int rows) |
Search.Builder |
withStart(int start) |
public Search.Builder withPresort(Search.Presort presort)
public Search.Builder withStart(int start)
public Search.Builder withRows(int rows)
public <T> Search.Builder withOption(Search.Option<T> option, T value)
public Search.Builder filter(String query)
public Search.Builder sort(String field)
public Search.Builder returnFields(Iterable<String> fields)
public Search.Builder returnFields(String... fields)
public Search build()
Copyright © 2014. All rights reserved.