jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-804) Avoid using MultiTermDocs
Date Wed, 04 Apr 2007 14:31:32 GMT

    [ https://issues.apache.org/jira/browse/JCR-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486667
] 

Ate Douma commented on JCR-804:
-------------------------------

Marcel,

Your solution breaks JDK 1.4 compatibility, jackrabbit-core now requires JDK 5.0 to compile:

No enclosing instance of type RangeQuery is accessible. Must qualify the allocation with an
enclosing instance of type RangeQuery (e.g. x.new A() where x is an instance of RangeQuery).
jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RangeQuery.java	line
189
No enclosing instance of type WildcardQuery is accessible. Must qualify the allocation with
an enclosing instance of type WildcardQuery (e.g. x.new A() where x is an instance of WildcardQuery).
jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WildcardQuery.java,
line 163

 

> Avoid using MultiTermDocs
> -------------------------
>
>                 Key: JCR-804
>                 URL: https://issues.apache.org/jira/browse/JCR-804
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.3
>
>
> Similar to MatchAllQuery also RangeQuery and WildcardQuery will result in use of MultiTermDocs.
Those queries should also use the MultiScorer. See also issue JCR-791.

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