jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-488) DASL <basicsearch> support
Date Mon, 21 Aug 2006 08:37:14 GMT
    [ http://issues.apache.org/jira/browse/JCR-488?page=comments#action_12429360 ] 
Marcel Reutegger commented on JCR-488:

One possible approach to implement this feature:

Provide an implementation of org.apache.jackrabbit.core.query.QueryTreeBuilder which is able
to transform a basicsearch into a Jackrabbit Query Tree. See org.apache.jackrabbit.core.query.sql.QueryBuilder
for an example how the JCR SQL syntax is translated into a QueryNode tree structure. In a
similar way the basicsearch syntax could be translated into a Jackrabbit Query Tree.

Features that cannot be mapped to JCR query functionality would simply throw an InvalidQueryException
when parsed, even though in basicsearch terms it would be valid. This would at least allow
us to execute a subset of basicsearch against Jackrabbit (or even some other JCR compliant
repository). This approach also allows us to transform the abstract query tree back to a JCR
XPath statement, which is not necessarily tied to Jackrabbit.

> DASL <basicsearch> support
> --------------------------
>                 Key: JCR-488
>                 URL: http://issues.apache.org/jira/browse/JCR-488
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: webdav
>            Reporter: Darren Hartford
> http://www.webdav.org/dasl/protocol/draft-davis-dasl-protocol-00.html
> <queryschema> would also be great for application development to dynamically identify
indexed properties.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message