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

Add index for all filterable, sortable and searchable fields #68

Open
wants to merge 3 commits into
base: 0.5
Choose a base branch
from

Conversation

alexander-schranz
Copy link
Member

Queries on none indexed fields are slow: Reference: https://github.com/elastic/elasticsearch/pull/92606/files -> https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-index.html

So we should add index on all filterable and sortable fields also. This requires us to refractor how we search on the index as currently we did misuse index: false to make things not searchable. Which seems not the correct way.

@alexander-schranz alexander-schranz added Adapter: Elasticsearch Elasticsearch Adapter releated issue Adapter: Opensearch Opensearch Adapter related issue Performance Performance releated issue labels Jan 10, 2023
@alexander-schranz alexander-schranz force-pushed the enhancement/index-filterable-fields branch 5 times, most recently from 20ea8f5 to dd1dab2 Compare January 11, 2023 00:46
@alexander-schranz alexander-schranz force-pushed the enhancement/index-filterable-fields branch from 2076a3b to 7f8d101 Compare January 13, 2023 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Adapter: Elasticsearch Elasticsearch Adapter releated issue Adapter: Opensearch Opensearch Adapter related issue Performance Performance releated issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant