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

de.datexis.index.WordIndex Maven / Gradle / Ivy

The newest version!
package de.datexis.index;

import java.util.*;


/**
 * A simple Fulltext Index.
 */
public interface WordIndex {

  /**
   * Retrieve candidates for a Proximity query on the "text" field.
   */
  public List queryText(String text, int hits);
  
  /**
   * Retrieve candidates for an exact  query on the "text" field.
   */
  public List queryExactText(String text, int hits);
  
  /**
   * Retrieve candidates for auto completion on the "text" field.
   */
  public List queryPrefixText(String prefix, int hits);
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy