Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.4
Description
The cost estimation of the Lucene index is somewhat inaccurate because (by default) it just used the number of documents in the index (as of Oak 1.7.4 by default, due to OAK-6333).
Instead, it should use the number of documents for the given fields (the minimum, if there are multiple fields with restrictions).
Plus divided by the number of restrictions (as we do now already).
Attachments
Attachments
Issue Links
- breaks
-
OAK-6902 Cost estimation for path tranformable queries is incorrect
- Closed
- is related to
-
OAK-5449 Cost calculation for one matching property restriction/sorting results in selection of wrong index
- Open
-
OAK-7300 Lucene Index: per-column selectivity to improve cost estimation
- Open
-
OAK-6333 IndexPlanner should use actual entryCount instead of limiting it to 1000
- Closed
- relates to
-
OAK-6734 IndexPlan: add supportsPathRestrictions
- Closed