public class QueryParams extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QueryParams.Builder
QueryParams builder static inner class. |
Modifier and Type | Method and Description |
---|---|
int |
from()
From index to start the search from.
|
String |
indexName()
Index name string.
|
static QueryParams.Builder |
newBuilder(String indexName)
New
QueryParams builder. |
int |
pageLength()
Page length int.
|
String |
sortField()
Sort field string.
|
boolean |
trackTotalHits()
Track total hits boolean.
|
public static QueryParams.Builder newBuilder(String indexName)
QueryParams
builder.indexName
- The index name. This parameter is mandatory.public String sortField()
public int from()
0
.public int pageLength()
public boolean trackTotalHits()
public String indexName()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.