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

Feature - Elasticsearch connector improvement - dynamic filtering ES query #23493

Open
jimPeill opened this issue Sep 19, 2024 · 0 comments
Open

Comments

@jimPeill
Copy link

The WHERE clause in the SQL query is translated as a "bool - filter" ES query.
However, that "bool filter" query only works on Keyword and indexed fieds in ES.

Requirements:
To improve the ES connector with a dynamic filtering query, depending on the field type, in order to make the right ES query:

  • type keyword and indexed : ES query using "bool filter" (behavior as of today)
  • type keyword and non indexed or type Text : ES query using"query match" or "query multi-match" if several WHERE clauses in the SQL query
@jimPeill jimPeill changed the title Feature - Elasticsearch connector improvment - dynamic filtering ES query Feature - Elasticsearch connector improvement - dynamic filtering ES query Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant