org.hibernate.search.query.dsl
public interface PhraseContext extends QueryCustomization<PhraseContext>
| Modifier and Type | Method and Description |
|---|---|
PhraseMatchingContext |
onField(String fieldName)
field / property the term query is executed on
|
PhraseContext |
withSlop(int slop)
Sets the number of other words permitted between words in query phrase.
|
boostedTo, filteredBy, withConstantScorePhraseContext withSlop(int slop)
WITHIN or NEAR operator.
Defaults to 0PhraseMatchingContext onField(String fieldName)
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved