Skip to content

Commit

Permalink
Merge pull request #3299 from freelawproject/3257-tweak-the-max-analy…
Browse files Browse the repository at this point in the history
…zed-offset-setting

fix(elasticsearch): Add the max_analyzed_offset setting to the HL query
  • Loading branch information
mlissner authored Oct 24, 2023
2 parents 9591f6f + 9211d22 commit 4372d03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cl/lib/elasticsearch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ def build_has_child_query(
"number_of_fragments": number_of_fragments,
"pre_tags": ["<mark>"],
"post_tags": ["</mark>"],
"max_analyzed_offset": 999_999,
}

inner_hits = {
Expand Down

0 comments on commit 4372d03

Please sign in to comment.