You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/11/29 17:20:12 UTC

[jira] [Resolved] (OAK-2279) Add testMode support in IndexPlanner

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

Chetan Mehrotra resolved OAK-2279.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
                   1.1.3
                   1.0.9

> Add testMode support in IndexPlanner
> ------------------------------------
>
>                 Key: OAK-2279
>                 URL: https://issues.apache.org/jira/browse/OAK-2279
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.0.9, 1.1.3
>
>
> Currently {{IndexPlanner}} returns a plan only if if any of the config is applicable for the query being eecuted. While running Lucene testcases current approach was to always return a plan (in {{LowCostLuceneIndexProvider}} with a very small cost. 
> To support similar thing with {{IndexPlanner}} we need to add a {{testMode}} flag. If that flag is set the planner would ensure that for given test run it should always return a plan. If no plan is possible then it would fail with exception



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