lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1424) Change all mutli term querys so that they extend MultiTermQuery and allow for a constant score mode
Date Sat, 08 Nov 2008 22:38:44 GMT

    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message