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] Updated: (LUCENE-1424) Add ConstantScorePrefixQuery and ConstantScoreWildcardQuery
Date Fri, 24 Oct 2008 22:59:44 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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: https://issues.apache.org/jira/browse/LUCENE-1424
>             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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message