incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (OODT-57) LuceneCatalog.getNumHits() doesn't properly translate the given Query object into the equivalent Lucene query
Date Fri, 12 Nov 2010 22:58:13 GMT

     [ 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.


Mime
View raw message