Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ but omits the field names.
A field template is always declared in a binder: either in a <<mapper-orm-bridge-typebridge,type binder>>
or in a <<mapper-orm-bridge-propertybridge,property binder>>.
As for static fields, the entry point to declaring a template is the `IndexNode`
passed to the binder's `bind(...)` method
passed to the binder's `bind(...)` method.
A call to the `fieldTemplate` method on the schema element will declare a field template.

Assuming a field template was declared during binding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ or it doesn't match and it won't benefit from the score of this predicate.

Predicates with a variable score have a more subtle impact on the score.
For example the <<search-dsl-predicate-match,`match` predicate>>, on a text field,
will yield a higher score for documents
will yield a higher score for documents that contain the term to match multiple times.

When this "variable score" behavior is not desired,
you can suppress it by calling `.constantScore()`.
Expand Down