[
https://issues.apache.org/jira/browse/LUCENE-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051495#comment-13051495
]
Paul Elschot commented on LUCENE-2454:
--------------------------------------
NestedDocumentQuery already implements rewrite() by returning *this*, just as
in 3171.
This is a more complete traceback of exception:
{noformat}
[junit] java.lang.UnsupportedOperationException:
org.apache.lucene.search.NumericRangeQuery
[junit] at org.apache.lucene.search.Query.createWeight(Query.java:91)
[junit] at
org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:177)
[junit] at
org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:358)
[junit] at
org.apache.lucene.search.nested.NestedDocumentQuery.createWeight(NestedDocumentQuery.java:65)
[junit] at
org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:177)
[junit] at
org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:358)
[junit] at
org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:676)
[junit] at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:292)
[junit] at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
[junit] at
org.apache.lucene.search.TestNestedDocumentQuery.testSimple(TestNestedDocumentQuery.java:92)
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1414)
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1332)
{noformat}
Could BooleanWeight be the offendor?
> Nested Document query support
> -----------------------------
>
> Key: LUCENE-2454
> URL: https://issues.apache.org/jira/browse/LUCENE-2454
> Project: Lucene - Java
> Issue Type: New Feature
> Components: core/search
> Affects Versions: 3.0.2
> Reporter: Mark Harwood
> Assignee: Mark Harwood
> Priority: Minor
> Attachments: LUCENE-2454.patch, LuceneNestedDocumentSupport.zip
>
>
> A facility for querying nested documents in a Lucene index as outlined in
> http://www.slideshare.net/MarkHarwood/proposal-for-nested-document-support-in-lucene
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]