You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Support for autocreate of an Index for Loupe and Memory Adapter (#471)
Sadly it seems like we are not able to standardize
IndexNotFoundException (#470)
for save, delete, bulk or search actions.
We will still support in Loupe Autocreate of the Index if it does not
yet exists.
While Indexes are in some cases autocreated we recommend to create
Indexes via the frameworks CLI commands / scripts. Else Search Engine
will create there own setting for the indexes and things like
searchable, filterable, sortable, does may not work like expected. Why
this is not the case for Loupe it is case for other Engine which also
support auto create:
- Elasticsearch
- Opensearch
- Algolia
- Meilisearch
They all create indexes with some kind of default settings not the
defined mapping of yours.
The following search engines will just fail if you try to save, delete,
... a document from it:
- Solr
- Typesense
The following search engines will not fail when adding, deleting a
document but still no Index exist so nothing is searchable.
- Redisearch
So fixes only parts of #463.
---
TLDR; Only adapters which auto create indexes with correct configuration
are with this PR:
- Loupe
- Memory
All others are not created with the correct settings and createIndex
should definitely still be called for them to update the settings of the
specific engines correctly.
0 commit comments