You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2010/11/12 23:58:13 UTC

[jira] Assigned: (OODT-57) LuceneCatalog.getNumHits() doesn't properly translate the given Query object into the equivalent Lucene query

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

Chris A. Mattmann reassigned OODT-57:
-------------------------------------

    Assignee: Chris A. Mattmann

> LuceneCatalog.getNumHits() doesn't properly translate the given Query object into the equivalent Lucene query
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: OODT-57
>                 URL: https://issues.apache.org/jira/browse/OODT-57
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.1-incubating
>            Reporter: Gabe Resneck
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.2-incubating
>
>         Attachments: OODT-57.gabe-resneck.111210.patch.txt
>
>
> Presently, the getNumHits() method reconstructs the given query by only translating the queryCriteria that are direct children of the Query object.  This means that the only queries that receive correct results from this method are those that contain only one term or range criterion.
> This bug can easily be fixed by instead using a recursive procedure that will translate each criterion into data understood by Lucene before doing the same to its children.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.