[ 
https://issues.apache.org/jira/browse/LUCENE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642606#action_12642606
 ] 

Michael McCandless commented on LUCENE-1424:
--------------------------------------------

Woops... patch uses @Override (Java 5 only):

{code}
common.compile-core:
    [mkdir] Created dir: /lucene/lucene.constant/build/classes/java
    [javac] Compiling 333 source files to 
/lucene/lucene.constant/build/classes/java
    [javac] 
/lucene/lucene.constant/src/java/org/apache/lucene/search/ConstantScoreWildcardQuery.java:69:
 annotations are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable annotations)
    [javac]   @Override
    [javac]    ^
    [javac] 
/lucene/lucene.constant/src/java/org/apache/lucene/search/WildcardFilter.java:49:
 annotations are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable annotations)
    [javac]   @Override
    [javac]    ^
    [javac] 2 errors
{code}

I'll fix in my local checkout.

> Add ConstantScorePrefixQuery and ConstantScoreWildcardQuery
> -----------------------------------------------------------
>
>                 Key: LUCENE-1424
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1424
>             Project: Lucene - Java
>          Issue Type: New Feature
>            Reporter: Mark Miller
>            Assignee: Michael McCandless
>            Priority: Minor
>         Attachments: LUCENE-1424.patch
>
>
> If we want to be able to highlight these queries, they need to be added to 
> Lucene core or contrib (solr's WildCardFilter can be used to create the 
> ConstantScoreWildcardQuery). They are very useful anyway.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to