[ 
https://issues.apache.org/jira/browse/OAK-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amit Jain updated OAK-2200:
---------------------------
    Attachment: OAK-2200.patch

Added an {{entryCount}} parameter (defaults to 1000) for the lucene index 
definition which indicates the max estimated entry count.

[~tmueller], [~chetanm] Please review the patch. Is there a need to add a 
costFactor variable.

Chetan, the patch also contains a fix for an empty clause being added when a 
node with a specific nodeType is indexed causing lucene to not return any 
results.

> Tune cost calculation for lucene property index
> -----------------------------------------------
>
>                 Key: OAK-2200
>                 URL: https://issues.apache.org/jira/browse/OAK-2200
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: oak-lucene
>            Reporter: Amit Jain
>             Fix For: 1.2
>
>         Attachments: OAK-2200.patch
>
>
> Though lucene provides an accurate count with {{IndexReader#numDocs}}, we may 
> need to apply heuristics to constrain the value so that it is properly 
> selected for indexed properties Vs other inappropriate indexes e.g wrt 
> nodeType index. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to