Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates hybrid search query to match against all_titles using the 'and' operator and the 'english' stopword analyzer #200

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

bmquinn
Copy link
Contributor

@bmquinn bmquinn commented Apr 22, 2024

The new subquery that goes alongside the neural search query uses the AND operator and the english stopword analyzer:

{
  "match": {
    "all_titles":  {
      "query": config.question,
      "operator": "AND",
      "analyzer": "english"
    }
  }
}

…d' operator and the 'english' stopword analyzer.
@bmquinn bmquinn requested review from mbklein and kdid April 22, 2024 18:29
@bmquinn bmquinn merged commit 5a1e6c0 into deploy/staging Apr 22, 2024
1 check passed
@bmquinn bmquinn deleted the 4618-modify-hybrid-search-query branch April 22, 2024 18:32
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