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-804) Avoid using MultiTermDocs
Date Mon, 09 Apr 2007 09:48:32 GMT

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

Jukka Zitting commented on JCR-804:
-----------------------------------

The problem appears when the Eclipse compiler (at least in Eclipse 3.2) is set to Java 1.4
compliance mode. It seems to interpret the JLS more strictly than the Sun javac; the relevant
section being 8.8.5.1 (Explicit Constructor Invocations) which says:

    If an anonymous class instance creation expression appears within an explicit
    constructor invocation statement, then the anonymous class may not refer to any
    of the enclosing instances of the class whose constructor is being invoked.

I already worked around this issue in JCR-835 by replacing the ScorerFactory interface with
an abstract createScorer() factory method.

> 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