All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yelp.nrtsearch.server.grpc.FuzzyQueryOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta.1
Show 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 FuzzyQueryOrBuilder extends
    // @@protoc_insertion_point(interface_extends:luceneserver.FuzzyQuery)
    com.google.protobuf.MessageOrBuilder {

  /**
   * string field = 1;
   * @return The field.
   */
  java.lang.String getField();
  /**
   * string field = 1;
   * @return The bytes for field.
   */
  com.google.protobuf.ByteString
      getFieldBytes();

  /**
   * string text = 2;
   * @return The text.
   */
  java.lang.String getText();
  /**
   * string text = 2;
   * @return The bytes for text.
   */
  com.google.protobuf.ByteString
      getTextBytes();

  /**
   * 
   * The maximum allowed Levenshtein Edit Distance (or number of edits). Possible values are 0, 1 and 2. Either set this or auto. Default is 2.
   * 
* * optional int32 maxEdits = 3; * @return Whether the maxEdits field is set. */ boolean hasMaxEdits(); /** *
   * The maximum allowed Levenshtein Edit Distance (or number of edits). Possible values are 0, 1 and 2. Either set this or auto. Default is 2.
   * 
* * optional int32 maxEdits = 3; * @return The maxEdits. */ int getMaxEdits(); /** *
   * Length of common (non-fuzzy) prefix. Default is 0.
   * 
* * optional int32 prefixLength = 4; * @return Whether the prefixLength field is set. */ boolean hasPrefixLength(); /** *
   * Length of common (non-fuzzy) prefix. Default is 0.
   * 
* * optional int32 prefixLength = 4; * @return The prefixLength. */ int getPrefixLength(); /** *
   * The maximum number of terms to match. Default is 50.
   * 
* * optional int32 maxExpansions = 5; * @return Whether the maxExpansions field is set. */ boolean hasMaxExpansions(); /** *
   * The maximum number of terms to match. Default is 50.
   * 
* * optional int32 maxExpansions = 5; * @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.
   * 
* * optional bool transpositions = 6; * @return Whether the transpositions field is set. */ boolean hasTranspositions(); /** *
   * 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.
   * 
* * optional bool transpositions = 6; * @return The transpositions. */ boolean getTranspositions(); /** *
   * Method used to rewrite the query.
   * 
* * .luceneserver.RewriteMethod rewrite = 7; * @return The enum numeric value on the wire for rewrite. */ int getRewriteValue(); /** *
   * Method used to rewrite the query.
   * 
* * .luceneserver.RewriteMethod rewrite = 7; * @return The rewrite. */ com.yelp.nrtsearch.server.grpc.RewriteMethod getRewrite(); /** *
   * Specifies the size to use for the TOP_TERMS* rewrite methods.
   * 
* * int32 rewriteTopTermsSize = 8; * @return The rewriteTopTermsSize. */ int getRewriteTopTermsSize(); /** *
   * 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 = 9; * @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 = 9; * @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 = 9; */ com.yelp.nrtsearch.server.grpc.FuzzyParams.AutoFuzzinessOrBuilder getAutoOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy