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

Mark Miller commented on LUCENE-1424:
-------------------------------------

It looks like termContainsWildcard; and the check code can come out of 
wildcardquery. I pretty much got around that by making wc enum not blow up when 
the term doesn't contain a wildcard. There are other ways to do it that would 
keep the check if we prefer (a simple override of rewrite on wildcardquery 
would be the other option I like). I just liked the idea of WCTermEnum not 
blowing up like WCQuery doesnt blow up.

> Change all mutli term querys so that they extend MultiTermQuery and allow for 
> a constant score mode
> ---------------------------------------------------------------------------------------------------
>
>                 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, LUCENE-1424.patch, LUCENE-1424.patch, 
> LUCENE-1424.patch, LUCENE-1424.patch, LUCENE-1424.patch, LUCENE-1424.patch, 
> LUCENE-1424.patch, LUCENE-1424.patch
>
>
> Cleans up a bunch of code duplication, closer to how things should be - 
> design wise, gives us constant score for all the multi term queries, and 
> allows us at least the option of highlighting the constant score queries 
> without much further work.

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