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

Paul Elschot commented on LUCENE-2454:
--------------------------------------

Tried the current patch here to make use prevSetBit, but ran into a problem 
with the query weight that could be related to LUCENE-3208.

When fixing the patch here so that NestedDocumentQuery.java looks like this:
{code}
  public Weight createWeight(IndexSearcher searcher) throws IOException {
    return new NestedDocumentQueryWeight(childQuery.createWeight(searcher));
  }
{code}

the TestNestedDocumentQuery from the patch here fails with an 
UnsupportedOperationException.

After adding the class name to Query.java constructing this exception the test 
fails by:

UnsupportedOperationException: org.apache.lucene.search.NumericRangeQuery

That means that probably the above fix to the patch is wrong.
Any comments on how to continue this?



> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to