Open MeirShpilraien opened 4 years ago
@MeirShpilraien Just tested at 4b76c9e93b8d9dcfceb17cd37823ec0ecc61c3bb
It causes test testPrefixDeletedExpansions
to fail. Tests 'ft.search idx "@txt1:term* @tag1:{tag*}"
Delete branch performance-imp-for-Query_EvalTagPrefixNode
once close this issue.
On
Query_EvalTagPrefixNode
we do the prefix search on the trie, once we find a match we search for the term in the trie again though we already have the value (the prefix iterator returns it):The
TagIndex_OpenReader
performce another lookup on the trie and get the pointer which we already have on ptr variable.