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

[ENHANCEMENT] Improve index settings & mappings configurations #547

Closed
ohltyler opened this issue Dec 26, 2024 · 0 comments · Fixed by #552
Closed

[ENHANCEMENT] Improve index settings & mappings configurations #547

ohltyler opened this issue Dec 26, 2024 · 0 comments · Fixed by #552
Labels
enhancement New feature or request v2.20.0

Comments

@ohltyler
Copy link
Member

ohltyler commented Dec 26, 2024

Currently, index settings & mappings are only initialized if selecting from a preset use-case, and quick-configure fields are defined. But, if starting from scratch (selecting "custom" template), if ML ingest processors are configured, or document fields with special embeddings are defined, nothing is automatically updated, and it is in the default/empty state, with no references or helper UI for the users.

For example, if configuring an ML processor to generate embeddings, it will always require index.knn: true setting to be set, and a mapping of type knn_vector with the correct embedding length is required, for proper knn search to work later on.

A few ideas to improve the overall experience, of which are not mutually exclusive:

  • offer presets, similar to the query building modal, of index settings / mappings (e.g., a knn index should have index.knn: true setting in some preset)
  • add logic to try to generate valid index mappings & settings as users fill out or update the form (selecting an ML processor, updating the sample source data documents, etc.)
@ohltyler ohltyler added enhancement New feature or request v2.20.0 labels Dec 26, 2024
@ohltyler ohltyler changed the title [ENHANCEMENT] Auto-populate index settings & mappings based on configurations [ENHANCEMENT] Improve index settings & mappings configurations Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2.20.0
Projects
None yet
1 participant