NestedQuery improvements by dam-bal · Pull Request #47 · spatie/elasticsearch-query-builder · GitHub
Skip to content

NestedQuery improvements - #47

Closed
dam-bal wants to merge 10 commits into
spatie:mainfrom
dam-bal:nested-query-improvements
Closed

dam-bal wants to merge 10 commits into
spatie:mainfrom
dam-bal:nested-query-improvements

Conversation

@dam-bal

@dam-bal dam-bal commented May 7, 2024 •

Copy link
Copy Markdown
Contributor
  • Added tests for NestedQuery.
  • Updated NestedQuery to use promoted properties.
  • Added ignore_unmapped and score_mode to NestedQuery.
  • Added inner_hits (https://www.elastic.co/guide/en/elasticsearch/reference/current/inner-hits.html) to NestedQuery .
    • name is not required for inner_hits to work but, I have made it required as when toArray is called without anything set it will produce empty array and that's not valid inner_hits.
  • Updated README.md to include section about InnerHits.

@dam-bal
dam-bal marked this pull request as ready for review May 7, 2024 20:05
@spatie-bot

Copy link
Copy Markdown

@spatie-bot spatie-bot closed this Sep 9, 2024
@dam-bal

dam-bal commented Sep 19, 2024

Copy link
Copy Markdown
Contributor Author

@dam-bal dam-bal mentioned this pull request Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants