BoostedQuery (Solr 3.6.2 API)
Keywords: org.apache.solr.search.function.BoostedQuery class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.search.function
Class BoostedQuery

    java.lang.Object
      org.apache.lucene.search.Query
          org.apache.solr.search.function.BoostedQuery

All Implemented Interfaces:
  Serializable, Cloneable

    public class BoostedQuery

extends Query

Query that is boosted by a ValueSource

See Also:
  Serialized Form

Constructor Summary
`BoostedQuery(Query subQuery, ValueSource boostVal)`

Method Summary
`Weight` | `createWeight(Searcher searcher)`
`boolean` | `equals(Object o)`
`void` | `extractTerms(Set terms)`
`Query` | `getQuery()`
`ValueSource` | `getValueSource()`
`int` | `hashCode()`
`Query` | `rewrite(IndexReader reader)`
`String` | `toString(String field)`

Methods inherited from class org.apache.lucene.search.Query
`clone, combine, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weight`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BoostedQuery

    public BoostedQuery(Query subQuery,
                        ValueSource boostVal)

Method Detail

### getQuery

    public Query getQuery()

### getValueSource

    public ValueSource getValueSource()

### rewrite

    public Query rewrite(IndexReader reader)
                  throws IOException

  Overrides:
    `rewrite` in class `Query`
  Throws:
    `IOException`

### extractTerms

    public void extractTerms(Set terms)

  Overrides:
    `extractTerms` in class `Query`

### createWeight

    public Weight createWeight(Searcher searcher)
                        throws IOException

  Overrides:
    `createWeight` in class `Query`
  Throws:
    `IOException`

### toString

    public String toString(String field)

  Specified by:
    `toString` in class `Query`

### equals

    public boolean equals(Object o)

  Overrides:
    `equals` in class `Query`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Query`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD