congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JComboBox (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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