-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Currently there is a class DefaultIndexBuilder that is an instance of IndexBuilder. The name of this class indicates that it allows you to customise the created index in elastic. However the current implementation only allows you to configure the name of the index to which records are added. It does not allow you to specify anything about the index to be created.
Currently the index is created in elastic automatically when the first document is added and the fields and values are auto determined by the contents of the documents. This would fail if auto index creation were disabled, and as above gives no room to configure the index.
It seems to me there are two options:
- Either you inform users that they should pre-create indices if they require customisation of them.
- Or we can update the code to make the use of the IndexBuilder interface clearer and to use that interface to create the indices on start up of the connector
Metadata
Metadata
Assignees
Labels
No labels