lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3207) CustomScoreQuery calls weight() where it should call createWeight()
Date Thu, 16 Jun 2011 07:42:47 GMT

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

Uwe Schindler commented on LUCENE-3207:
---------------------------------------

This bug is stupid: I had a similar issue during the rewrite of ConstantScoreQuery to directly
wrap queries, where I copied some code from CustomScoreQuery (just removed the custom scoring).
I fixed it in Constant*, not sure why I left CustomScoreQuery unchanged. Maybe because tests
passed.

> CustomScoreQuery calls weight() where it should call createWeight()
> -------------------------------------------------------------------
>
>                 Key: LUCENE-3207
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3207
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-3207.patch
>
>
> Thanks to Uwe for helping me track down this bug after I pulled my hair out for hours
on LUCENE-3174.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message