Allow combining index sorting and nested mappings. #105738
Labels
>enhancement
:Search/Search
Search-related issues that do not fall into other categories
Team:Search
Meta label for search team
Description
Until now, we disallowed configuring
nested
fields in mappings if an index sort was configured as the index sort could break the way that we organize doc IDs.Lucene recently fixed this by enabling recording root documents via
IndexWriterConfig#setParentField
. When a parent field is configured, index sorting will make sure to preserve the block structure. We should now remove the Elasticsearch limitation by removing the check and configuring a parent field when index sorting is enabled. This would then allownested
mappings to be added.The text was updated successfully, but these errors were encountered: