限定符和类型 | 类和说明 |
---|---|
static class |
MatchQuery.Builder |
构造器和说明 |
---|
MatchQuery() |
限定符和类型 | 方法和说明 |
---|---|
String |
getFieldName() |
Integer |
getMinimumShouldMatch() |
QueryOperator |
getOperator() |
QueryType |
getQueryType() |
String |
getText() |
float |
getWeight() |
protected static MatchQuery.Builder |
newBuilder() |
com.google.protobuf.ByteString |
serialize() |
void |
setFieldName(String fieldName) |
void |
setMinimumShouldMatch(Integer minimumShouldMatch) |
void |
setOperator(QueryOperator operator) |
void |
setText(String text) |
void |
setWeight(float weight) |
public String getFieldName()
public void setFieldName(String fieldName)
public String getText()
public void setText(String text)
public float getWeight()
public void setWeight(float weight)
public QueryOperator getOperator()
public void setOperator(QueryOperator operator)
public Integer getMinimumShouldMatch()
public void setMinimumShouldMatch(Integer minimumShouldMatch)
public QueryType getQueryType()
getQueryType
在接口中 Query
protected static MatchQuery.Builder newBuilder()
Copyright © 2019. All Rights Reserved.