Skip to content

Conversation

@ivanvasechko
Copy link

There is no keyword mapping for the department index (from lesson 91), so the current queries return an empty set of data when using a term query for searching by keyword

Related discussion: https://www.udemy.com/course/elasticsearch-complete-guide/learn/lecture/10131954#questions/11329158

There is no keyword mapping for the department index (from lesson 91), so the current queries return empty set of data when using a term query for searching by keyword
@ba0708
Copy link
Contributor

ba0708 commented Dec 27, 2023

Thank you for the PR, @ivanvasechko, I appreciate it! 🙏

I opted to add a keyword mapping to the name field to avoid having to change the search query, since a term query is ideal for "enum values" as in this case.

bf24652

@ba0708 ba0708 closed this Dec 27, 2023
@ivanvasechko ivanvasechko deleted the patch-1 branch December 28, 2023 06:08
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