Show Query.java syntax highlighted
/*
* Created on 09/08/2004
*
*/
package com.kneobase.search.query;
/**
* @author Ernesto De Santis
*
*/
public abstract class Query implements Cloneable {
private float boost;
public void setBoost(float b) {
boost = b;
}
public float getBoost() {
return boost;
}
public abstract String getSearchText();
public String toString() {
return getSearchText();
}
/**
* Transform to Lucene Query
*
* @return a Lucene Query
*/
public abstract org.apache.lucene.search.Query getLuceneQuery() throws QueryException;
}
See more files for this project here