org.hibernate.search.query.dsl.impl
public class ConnectedAllContext extends Object implements AllContext
| Constructor and Description |
|---|
ConnectedAllContext() |
| Modifier and Type | Method and Description |
|---|---|
AllContext |
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)
|
Query |
createQuery()
Return the lucene query representing the operation
|
AllContext |
except(Query... queriesMatchingExcludedDocuments)
Exclude the documents matching these queries
|
AllContext |
filteredBy(Filter filter)
Filter the query results with the Filter instance
|
AllContext |
withConstantScore()
All results matching the query have a constant score equals to the boost
FIXME is that true?
|
public Query createQuery()
TerminationcreateQuery in interface Termination<AllContext>public AllContext except(Query... queriesMatchingExcludedDocuments)
AllContextexcept in interface AllContextpublic AllContext boostedTo(float boost)
QueryCustomizationboostedTo in interface QueryCustomization<AllContext>public AllContext withConstantScore()
QueryCustomizationwithConstantScore in interface QueryCustomization<AllContext>public AllContext filteredBy(Filter filter)
QueryCustomizationfilteredBy in interface QueryCustomization<AllContext>Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved