Skip to content

Conversation

@nanaya
Copy link
Collaborator

@nanaya nanaya commented Apr 22, 2025

Simplest fix I can think of 🤷 Resolves #12084.

currently, given map with tag "what" and no user tag, with search query -what:

  • ->should(['term' => ['_id' => ['value' => $this->params->queryString, 'boost' => 100]]])
    no match -> no hit (correct)
  • ->should(QueryHelper::queryString($this->params->queryString, $partialMatchFields, 'or', 1 / count($terms)))
    matches excluded term -> no hit (correct)
  • ->should(QueryHelper::queryString($this->params->queryString, [], 'and'))
    matches excluded term -> no hit (correct)
  • ->should(['nested' => ['path' => 'beatmaps', ...]])
    doesn't match excluded term -> hit (incorrect)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Excluding map tags from search doesn't work

1 participant