Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 79618 invoked from network); 17 Aug 2009 16:09:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 16:09:33 -0000 Received: (qmail 27246 invoked by uid 500); 17 Aug 2009 16:08:03 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 26578 invoked by uid 500); 17 Aug 2009 16:08:01 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 25309 invoked by uid 99); 17 Aug 2009 16:02:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 16:02:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 16:02:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D77B8234C051 for ; Mon, 17 Aug 2009 09:02:14 -0700 (PDT) Message-ID: <2072180116.1250524934881.JavaMail.jira@brutus> Date: Mon, 17 Aug 2009 09:02:14 -0700 (PDT) From: "Mark Miller (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1818) contrib-spatial java.lang.UnsupportedOperationException on QueryWrapperFilter.getDocIdSet In-Reply-To: <1369286330.1250522834893.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1818: -------------------------------- Attachment: LUCENE-1818.patch With test case > contrib-spatial java.lang.UnsupportedOperationException on QueryWrapperFilter.getDocIdSet > ----------------------------------------------------------------------------------------- > > Key: LUCENE-1818 > URL: https://issues.apache.org/jira/browse/LUCENE-1818 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/spatial > Affects Versions: 2.9 > Environment: Mac OS X 10.5.8, Lucene 2.9-SNAPSHOT > Reporter: Martin Ruckli > Assignee: Mark Miller > Attachments: LUCENE-1818.patch, LUCENE-1818.patch > > > We use in our Project (which is in the devel phase) the latest Snapshot release of lucene. After i updated to the latest Snapshot a few days ago one of our JUnit tests fails and throws the following error: > java.lang.UnsupportedOperationException > at org.apache.lucene.search.Query.createWeight(Query.java:91) > at org.apache.lucene.search.QueryWrapperFilter.getDocIdSet(QueryWrapperFilter.java:72) > at org.apache.lucene.misc.ChainedFilter.getDISI(ChainedFilter.java:150) > at org.apache.lucene.misc.ChainedFilter.initialResult(ChainedFilter.java:173) > at org.apache.lucene.misc.ChainedFilter.getDocIdSet(ChainedFilter.java:211) > at org.apache.lucene.misc.ChainedFilter.getDocIdSet(ChainedFilter.java:141) > at org.apache.lucene.search.ConstantScoreQuery$ConstantScorer.(ConstantScoreQuery.java:116) > at org.apache.lucene.search.ConstantScoreQuery$ConstantWeight.scorer(ConstantScoreQuery.java:81) > at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:244) > at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:172) > at org.apache.lucene.search.Searcher.search(Searcher.java:183) > at org.hibernate.search.query.QueryHits.updateTopDocs(QueryHits.java:100) > at org.hibernate.search.query.QueryHits.(QueryHits.java:61) > at org.hibernate.search.query.QueryHits.(QueryHits.java:51) > at org.hibernate.search.query.FullTextQueryImpl.getQueryHits(FullTextQueryImpl.java:373) > at org.hibernate.search.query.FullTextQueryImpl.list(FullTextQueryImpl.java:293) > ... > I think it appeared after the Hudson build 917... and the following commit of the Query.java http://hudson.zones.apache.org/hudson/job/Lucene-trunk/917/changes#detail4 and is in connection with this JIRA issue: LUCENE-1771 > I hope i'm at the right place and that you can fix it. Thanks! -- 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