com.yelp.nrtsearch.server.grpc.FuzzyParamsOrBuilder 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/search.proto
// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;
public interface FuzzyParamsOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.FuzzyParams)
com.google.protobuf.MessageOrBuilder {
/**
*
* The maximum allowed Levenshtein Edit Distance (or number of edits). Possible values are 0, 1 and 2. Either set this or auto.
*
*
* int32 maxEdits = 1;
* @return The maxEdits.
*/
int getMaxEdits();
/**
*
* Length of common (non-fuzzy) prefix
*
*
* int32 prefixLength = 2;
* @return The prefixLength.
*/
int getPrefixLength();
/**
*
* The maximum number of terms to match.
*
*
* int32 maxExpansions = 3;
* @return The maxExpansions.
*/
int getMaxExpansions();
/**
*
* True if transpositions should be treated as a primitive edit operation. If this is false, comparisons will implement the classic Levenshtein algorithm. Default is true.
*
*
* bool transpositions = 4;
* @return The transpositions.
*/
boolean getTranspositions();
/**
*
* Auto fuzziness which determines the max edits based on the term length. AUTO is the preferred setting. Either set this or maxEdits.
*
*
* .luceneserver.FuzzyParams.AutoFuzziness auto = 5;
* @return Whether the auto field is set.
*/
boolean hasAuto();
/**
*
* Auto fuzziness which determines the max edits based on the term length. AUTO is the preferred setting. Either set this or maxEdits.
*
*
* .luceneserver.FuzzyParams.AutoFuzziness auto = 5;
* @return The auto.
*/
com.yelp.nrtsearch.server.grpc.FuzzyParams.AutoFuzziness getAuto();
/**
*
* Auto fuzziness which determines the max edits based on the term length. AUTO is the preferred setting. Either set this or maxEdits.
*
*
* .luceneserver.FuzzyParams.AutoFuzziness auto = 5;
*/
com.yelp.nrtsearch.server.grpc.FuzzyParams.AutoFuzzinessOrBuilder getAutoOrBuilder();
}