Skip to content

Commit

Permalink
HSEARCH-4597 Fix unfinished sentences in the documentation
Browse files Browse the repository at this point in the history
Apparently there was only the one, and a missing period.

I used this regexp to look for more:

^(?!\s*[*/\[=:.@]|.*\||hibernate.search|spring.jpa).*[a-z]\n(?!\s*[a-z0-1\*"(<`>]|\.\.\.|--|\d\.|Hibernate|Unicode)
  • Loading branch information
yrodiere committed Jun 17, 2022
1 parent 2359810 commit 48ee173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 48ee173

Please sign in to comment.