congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
FSTEnum.doSeekExact
Code IndexAdd Tabnine to your IDE (free)

How to use
doSeekExact
method
in
org.apache.lucene.util.fst.FSTEnum

Best Java code snippets using org.apache.lucene.util.fst.FSTEnum.doSeekExact (Showing top 8 results out of 315)

origin: org.apache.lucene/lucene-core

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(BytesRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
origin: org.apache.lucene/lucene-core

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(IntsRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(BytesRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(IntsRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
origin: org.infinispan/infinispan-embedded-query

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(BytesRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
origin: harbby/presto-connectors

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(BytesRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
origin: org.infinispan/infinispan-embedded-query

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(IntsRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
origin: harbby/presto-connectors

/** Seeks to exactly this term, returning null if the term
 *  doesn't exist.  This is faster than using {@link
 *  #seekFloor} or {@link #seekCeil} because it
 *  short-circuits as soon the match is not found. */
public InputOutput<T> seekExact(IntsRef target) throws IOException {
 this.target = target;
 targetLength = target.length;
 if (super.doSeekExact()) {
  assert upto == 1+target.length;
  return setResult();
 } else {
  return null;
 }
}
org.apache.lucene.util.fstFSTEnumdoSeekExact

Javadoc

Seeks to exactly target term.

Popular methods of FSTEnum

  • doSeekCeil
    Seeks to smallest term that's >= target.
  • doSeekFloor
    Seeks to largest term that's <= target.
  • getArc
  • getCurrentLabel
  • getTargetLabel
  • grow
  • incr
  • pushFirst
  • pushLast
  • rewindPrefix
    Rewinds enum state to match the shared prefix between current term and target term
  • setCurrentLabel
  • setCurrentLabel

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JLabel (javax.swing)
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now