public static interface SearchRequest.CrowdingSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getField()
public abstract String getField()The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.
string field = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The field. |
getFieldBytes()
public abstract ByteString getFieldBytes()The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.
string field = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for field. |
getMaxCount()
public abstract int getMaxCount() The maximum number of documents to keep per value of the field. Once
there are at least max_count previous results which contain the same
value for the given field (according to the order specified in
order_by), later results with the same value are "crowded away".
If not specified, the default value is 1.
int32 max_count = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The maxCount. |
getMode()
public abstract SearchRequest.CrowdingSpec.Mode getMode()Mode to use for documents that are crowded away.
.google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode mode = 3;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.CrowdingSpec.Mode |
The mode. |
getModeValue()
public abstract int getModeValue()Mode to use for documents that are crowded away.
.google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode mode = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for mode. |