mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
issue: https://github.com/milvus-io/milvus/issues/42148 This PR enable struct sub scalar fields to create nested index. The nested means treating elements in array (we know that all fields in array of struct are actually array) as separate documents. The index is used by Struct to speed up Match expression as well as Element-filter expression. This PR only enable Match expression to be optmized by index and leave Element-filter expression in the following PR. Now, MatchExpr executes sub-expr by using offset inputs. To make it support index, it also needs to support brute force without offset inputs, so this PR: 1. enable struct scalar fields to create nested index 2. enable match expr to support brute force without offset input 3. enable match expr to support index --------- Signed-off-by: SpadeA <tangchenjie1210@gmail.com> Signed-off-by: SpadeA-Tang <tangchenjie1210@gmail.com>