lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] Updated: (LUCENE-1424) Add ConstantScorePrefixQuery and ConstantScoreWildcardQuery
Date Fri, 24 Oct 2008 22:59:44 GMT


Mark Miller updated LUCENE-1424:

    Attachment: LUCENE-1424.patch

What do people think about putting these classes in? They have no max clause limitations,
and reports have been that they can be *much* more efficient on large indexes. Solr has switched
from using the boolean rewriting WildcardQuery,PrefixQuery to ConstantScore queries. We already
put in the ConstantScoreRange query for just these reasons, so I think it makes since to add
the rest of the family. An upside will be that I can add support for these queries to the
Span highlighter. That will put our Highlighter in a position of being able to highlight pretty
much every major query type, which I think is an important goal.

- Mark

> Add ConstantScorePrefixQuery and ConstantScoreWildcardQuery
> -----------------------------------------------------------
>                 Key: LUCENE-1424
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>            Reporter: Mark Miller
>            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:
For additional commands, e-mail:

View raw message