Example usage for Java org.apache.lucene.search BoostQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
BoostQuery(Query query, float boost) Sole constructor: wrap query in such a way that the produced scores will be boosted by boost . |
float | getBoost() Return the applied boost. |
Query | getQuery() Return the wrapped Query . |