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

com.browseengine.bobo.search.section.MetaDataQuery Maven / Gradle / Ivy

Go to download

Bobo is a Faceted Search implementation written purely in Java, an extension of Apache Lucene

The newest version!
/**
 *
 */
package com.browseengine.bobo.search.section;

import java.io.IOException;

import org.apache.lucene.index.AtomicReader;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.Query;

public abstract class MetaDataQuery extends Query {
  protected Term _term;

  public MetaDataQuery(Term term) {
    _term = term;
  }

  public Term getTerm() {
    return _term;
  }

  public abstract SectionSearchQueryPlan getPlan(AtomicReader reader) throws IOException;

  public abstract SectionSearchQueryPlan getPlan(MetaDataCache cache) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy