lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1792) new QueryParser fails to set constant score filter rewrite for multi-term queries
Date Sat, 08 Aug 2009 10:28:14 GMT

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

Michael McCandless updated LUCENE-1792:
---------------------------------------

    Attachment: LUCENE-1792.patch

Patch that just adds unit test showing the issue.

We already have a MultiTermRewriteMethodAttribute... so I think the fix here is in the processors
that create these query nodes, to carry over that attribute's value?  Actually RangeQueryNodeBuilder
seems to do so already, but the others don't.

> new QueryParser fails to set constant score filter rewrite for multi-term queries
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-1792
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1792
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>    Affects Versions: 2.9
>            Reporter: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1792.patch
>
>
> The old QueryParser defaults to constant score rewrite for Prefix,Fuzzy,Wildcard,TermRangeQuery,
but the new one seems not to.

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