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.hibernate.search.query.dsl.v2
Interface QueryCustomization<T>

All Known Subinterfaces:
  BooleanJunction<T>, MustJunction, TermCustomization, TermFuzzy

    public interface QueryCustomization<T>

Operations common to all types of queries

Author:
  Emmanuel Bernard

Method Summary
`T` | `boostedTo(float boost)` Boost the query to a given value Most of the time positive float: - lower than 1 to diminish the weight - higher than 1 to increase the weight Could be negative but not unless you understand what is going on (advanced)
`T` | `constantScore()` All results matching the query have a constant score equals to the boost FIXME is that true?
`org.apache.lucene.search.Query` | `createQuery()` Create a Lucene query
`T` | `filter(org.apache.lucene.search.Filter filter)` Filter the query results with the Filter instance

Method Detail

### boostedTo

    T boostedTo(float boost)

  Boost the query to a given value Most of the time positive float: - lower than 1 to diminish the weight - higher than 1 to increase the weight Could be negative but not unless you understand what is going on (advanced)

### constantScore

    T constantScore()

  All results matching the query have a constant score equals to the boost FIXME is that true?

### filter

    T filter(org.apache.lucene.search.Filter filter)

  Filter the query results with the Filter instance

### createQuery

    org.apache.lucene.search.Query createQuery()

  Create a Lucene 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

Copyright © 2006-2010 Hibernate. All Rights Reserved.