com.yelp.nrtsearch.server.grpc.CustomAnalyzerOrBuilder 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
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yelp/nrtsearch/analysis.proto
// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;
public interface CustomAnalyzerOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.CustomAnalyzer)
com.google.protobuf.MessageOrBuilder {
/**
*
* Available char filters as of Lucene 8.2.0: htmlstrip, mapping, persian, patternreplace
*
*
* repeated .luceneserver.NameAndParams charFilters = 1;
*/
java.util.List
getCharFiltersList();
/**
*
* Available char filters as of Lucene 8.2.0: htmlstrip, mapping, persian, patternreplace
*
*
* repeated .luceneserver.NameAndParams charFilters = 1;
*/
com.yelp.nrtsearch.server.grpc.NameAndParams getCharFilters(int index);
/**
*
* Available char filters as of Lucene 8.2.0: htmlstrip, mapping, persian, patternreplace
*
*
* repeated .luceneserver.NameAndParams charFilters = 1;
*/
int getCharFiltersCount();
/**
*
* Available char filters as of Lucene 8.2.0: htmlstrip, mapping, persian, patternreplace
*
*
* repeated .luceneserver.NameAndParams charFilters = 1;
*/
java.util.List extends com.yelp.nrtsearch.server.grpc.NameAndParamsOrBuilder>
getCharFiltersOrBuilderList();
/**
*
* Available char filters as of Lucene 8.2.0: htmlstrip, mapping, persian, patternreplace
*
*
* repeated .luceneserver.NameAndParams charFilters = 1;
*/
com.yelp.nrtsearch.server.grpc.NameAndParamsOrBuilder getCharFiltersOrBuilder(
int index);
/**
*
* Specify a Lucene tokenizer (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/Tokenizer.html). Possible options as of Lucene 8.2.0: keyword, letter, whitespace, edgeNGram, nGram, pathHierarchy, pattern, simplePatternSplit, simplePattern, classic, standard, uax29UrlEmail, thai, wikipedia.
*
*
* .luceneserver.NameAndParams tokenizer = 2;
* @return Whether the tokenizer field is set.
*/
boolean hasTokenizer();
/**
*
* Specify a Lucene tokenizer (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/Tokenizer.html). Possible options as of Lucene 8.2.0: keyword, letter, whitespace, edgeNGram, nGram, pathHierarchy, pattern, simplePatternSplit, simplePattern, classic, standard, uax29UrlEmail, thai, wikipedia.
*
*
* .luceneserver.NameAndParams tokenizer = 2;
* @return The tokenizer.
*/
com.yelp.nrtsearch.server.grpc.NameAndParams getTokenizer();
/**
*
* Specify a Lucene tokenizer (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/Tokenizer.html). Possible options as of Lucene 8.2.0: keyword, letter, whitespace, edgeNGram, nGram, pathHierarchy, pattern, simplePatternSplit, simplePattern, classic, standard, uax29UrlEmail, thai, wikipedia.
*
*
* .luceneserver.NameAndParams tokenizer = 2;
*/
com.yelp.nrtsearch.server.grpc.NameAndParamsOrBuilder getTokenizerOrBuilder();
/**
*
* Specify a Lucene token filter (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/TokenFilter.html). The possible options can be seen at https://lucene.apache.org/core/8_2_0/analyzers-common/org/apache/lucene/analysis/util/TokenFilterFactory.html and subclasses of TokenFilter at https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/package-tree.html or by calling TokenFilterFactory.availableTokenFilters().
*
*
* repeated .luceneserver.NameAndParams tokenFilters = 3;
*/
java.util.List
getTokenFiltersList();
/**
*
* Specify a Lucene token filter (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/TokenFilter.html). The possible options can be seen at https://lucene.apache.org/core/8_2_0/analyzers-common/org/apache/lucene/analysis/util/TokenFilterFactory.html and subclasses of TokenFilter at https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/package-tree.html or by calling TokenFilterFactory.availableTokenFilters().
*
*
* repeated .luceneserver.NameAndParams tokenFilters = 3;
*/
com.yelp.nrtsearch.server.grpc.NameAndParams getTokenFilters(int index);
/**
*
* Specify a Lucene token filter (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/TokenFilter.html). The possible options can be seen at https://lucene.apache.org/core/8_2_0/analyzers-common/org/apache/lucene/analysis/util/TokenFilterFactory.html and subclasses of TokenFilter at https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/package-tree.html or by calling TokenFilterFactory.availableTokenFilters().
*
*
* repeated .luceneserver.NameAndParams tokenFilters = 3;
*/
int getTokenFiltersCount();
/**
*
* Specify a Lucene token filter (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/TokenFilter.html). The possible options can be seen at https://lucene.apache.org/core/8_2_0/analyzers-common/org/apache/lucene/analysis/util/TokenFilterFactory.html and subclasses of TokenFilter at https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/package-tree.html or by calling TokenFilterFactory.availableTokenFilters().
*
*
* repeated .luceneserver.NameAndParams tokenFilters = 3;
*/
java.util.List extends com.yelp.nrtsearch.server.grpc.NameAndParamsOrBuilder>
getTokenFiltersOrBuilderList();
/**
*
* Specify a Lucene token filter (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/TokenFilter.html). The possible options can be seen at https://lucene.apache.org/core/8_2_0/analyzers-common/org/apache/lucene/analysis/util/TokenFilterFactory.html and subclasses of TokenFilter at https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/package-tree.html or by calling TokenFilterFactory.availableTokenFilters().
*
*
* repeated .luceneserver.NameAndParams tokenFilters = 3;
*/
com.yelp.nrtsearch.server.grpc.NameAndParamsOrBuilder getTokenFiltersOrBuilder(
int index);
/**
*
* TODO: this is not properly supported yet, the only impl requires a protected terms file. Can support this properly later if needed
*
*
* repeated .luceneserver.ConditionalTokenFilter conditionalTokenFilters = 4;
*/
java.util.List
getConditionalTokenFiltersList();
/**
*
* TODO: this is not properly supported yet, the only impl requires a protected terms file. Can support this properly later if needed
*
*
* repeated .luceneserver.ConditionalTokenFilter conditionalTokenFilters = 4;
*/
com.yelp.nrtsearch.server.grpc.ConditionalTokenFilter getConditionalTokenFilters(int index);
/**
*
* TODO: this is not properly supported yet, the only impl requires a protected terms file. Can support this properly later if needed
*
*
* repeated .luceneserver.ConditionalTokenFilter conditionalTokenFilters = 4;
*/
int getConditionalTokenFiltersCount();
/**
*
* TODO: this is not properly supported yet, the only impl requires a protected terms file. Can support this properly later if needed
*
*
* repeated .luceneserver.ConditionalTokenFilter conditionalTokenFilters = 4;
*/
java.util.List extends com.yelp.nrtsearch.server.grpc.ConditionalTokenFilterOrBuilder>
getConditionalTokenFiltersOrBuilderList();
/**
*
* TODO: this is not properly supported yet, the only impl requires a protected terms file. Can support this properly later if needed
*
*
* repeated .luceneserver.ConditionalTokenFilter conditionalTokenFilters = 4;
*/
com.yelp.nrtsearch.server.grpc.ConditionalTokenFilterOrBuilder getConditionalTokenFiltersOrBuilder(
int index);
/**
*
* Lucene version as LUCENE_X_Y_Z or X.Y.Z, LATEST by default
*
*
* string defaultMatchVersion = 5;
* @return The defaultMatchVersion.
*/
java.lang.String getDefaultMatchVersion();
/**
*
* Lucene version as LUCENE_X_Y_Z or X.Y.Z, LATEST by default
*
*
* string defaultMatchVersion = 5;
* @return The bytes for defaultMatchVersion.
*/
com.google.protobuf.ByteString
getDefaultMatchVersionBytes();
/**
*
* Must be >= 0
*
*
* .luceneserver.IntObject positionIncrementGap = 6;
* @return Whether the positionIncrementGap field is set.
*/
boolean hasPositionIncrementGap();
/**
*
* Must be >= 0
*
*
* .luceneserver.IntObject positionIncrementGap = 6;
* @return The positionIncrementGap.
*/
com.yelp.nrtsearch.server.grpc.IntObject getPositionIncrementGap();
/**
*
* Must be >= 0
*
*
* .luceneserver.IntObject positionIncrementGap = 6;
*/
com.yelp.nrtsearch.server.grpc.IntObjectOrBuilder getPositionIncrementGapOrBuilder();
/**
*
* Must be >= 0
*
*
* .luceneserver.IntObject offsetGap = 7;
* @return Whether the offsetGap field is set.
*/
boolean hasOffsetGap();
/**
*
* Must be >= 0
*
*
* .luceneserver.IntObject offsetGap = 7;
* @return The offsetGap.
*/
com.yelp.nrtsearch.server.grpc.IntObject getOffsetGap();
/**
*
* Must be >= 0
*
*
* .luceneserver.IntObject offsetGap = 7;
*/
com.yelp.nrtsearch.server.grpc.IntObjectOrBuilder getOffsetGapOrBuilder();
}