com.yelp.nrtsearch.server.grpc.MatchPhraseQueryOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clientlib Show documentation
Show all versions of clientlib Show documentation
GRPC Clientlib for nrtSearch
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yelp/nrtsearch/search.proto
// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;
public interface MatchPhraseQueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.MatchPhraseQuery)
com.google.protobuf.MessageOrBuilder {
/**
*
* Field in the document to query.
*
*
* string field = 1;
* @return The field.
*/
java.lang.String getField();
/**
*
* Field in the document to query.
*
*
* string field = 1;
* @return The bytes for field.
*/
com.google.protobuf.ByteString
getFieldBytes();
/**
*
* The text to query with.
*
*
* string query = 2;
* @return The query.
*/
java.lang.String getQuery();
/**
*
* The text to query with.
*
*
* string query = 2;
* @return The bytes for query.
*/
com.google.protobuf.ByteString
getQueryBytes();
/**
*
* Edit distance between respective positions of tokens generated by analyzing this query and the positions of terms in a document.
*
*
* int32 slop = 3;
* @return The slop.
*/
int getSlop();
/**
*
* Analyzer used to analyze the query. If not provided, the default search analyzer for the field would be used instead.
*
*
* .luceneserver.Analyzer analyzer = 4;
* @return Whether the analyzer field is set.
*/
boolean hasAnalyzer();
/**
*
* Analyzer used to analyze the query. If not provided, the default search analyzer for the field would be used instead.
*
*
* .luceneserver.Analyzer analyzer = 4;
* @return The analyzer.
*/
com.yelp.nrtsearch.server.grpc.Analyzer getAnalyzer();
/**
*
* Analyzer used to analyze the query. If not provided, the default search analyzer for the field would be used instead.
*
*
* .luceneserver.Analyzer analyzer = 4;
*/
com.yelp.nrtsearch.server.grpc.AnalyzerOrBuilder getAnalyzerOrBuilder();
/**
*
* Indicates whether none or all documents are returned if the analyzer removes all tokens. Valid values are NONE_ZERO_TERMS and ALL_ZERO_TERMS.
*
*
* .luceneserver.MatchPhraseQuery.ZeroTerms zeroTermsQuery = 5;
* @return The enum numeric value on the wire for zeroTermsQuery.
*/
int getZeroTermsQueryValue();
/**
*
* Indicates whether none or all documents are returned if the analyzer removes all tokens. Valid values are NONE_ZERO_TERMS and ALL_ZERO_TERMS.
*
*
* .luceneserver.MatchPhraseQuery.ZeroTerms zeroTermsQuery = 5;
* @return The zeroTermsQuery.
*/
com.yelp.nrtsearch.server.grpc.MatchPhraseQuery.ZeroTerms getZeroTermsQuery();
}