jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2093) Implement QueryObjectModelFactory.fullTextSearch() in QueryManagerImpl
Date Thu, 30 Apr 2009 15:52:30 GMT

    [ https://issues.apache.org/jira/browse/JCR-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704675#action_12704675

Jukka Zitting commented on JCR-2093:

Another somewhat related issue: the LuceneQueryFactoryImpl.create(FullTextSearchImpl) method
tries to parse the full text search expression, but with the JCR 2.0 API the expression is
a StaticOperand instead of a String.

For now I added a simple toString() call to convert the StaticOperand to something that can
be parsed, but there is probably a better way to do this.

See line 209 in LuceneQueryFactoryImpl.java for the details.

> Implement QueryObjectModelFactory.fullTextSearch() in QueryManagerImpl
> ----------------------------------------------------------------------
>                 Key: JCR-2093
>                 URL: https://issues.apache.org/jira/browse/JCR-2093
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-core
>            Reporter: Jukka Zitting
>             Fix For: 2.0.0
> While doing the JCR-1104 upgrade to JCR 2.0, we ran into an issue on how to best handle
the QueryObjectModelFactory.fullTextSearch() method that seems to have changed a bit since
the spi-commons version was written.
> Marcel, can you take a look at this when you have time. The dummy implementation I added
now is at line 97 of QueryManagerImpl.java in jackrabbit-core.

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

View raw message