lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Harwood (JIRA)" <>
Subject [jira] Commented: (LUCENE-2454) Nested Document query support
Date Mon, 14 Jun 2010 22:38:15 GMT


Mark Harwood commented on LUCENE-2454:

bq.  I wonder if potentially many places in Solr would have to be become aware of this scheme

Supporting multiple doc types in this way can be a big modelling change. Not everyone needs
it so I suspect that may be a hard sell to the Solr crowd.

bq. Another nice thing about the parallel index is that the idf relevancy factor stays clean

I have an "IDF compensating" wrapper query that takes care of that. It wraps a child query
to then wrap the Similarity class in use and adjusts IDF calculations to be based on the number
of documents of the required type. I'll attach it here when I get a chance.

bq. Before I saw this issue, I was going to try something with SpanNearQuery and the masking-field

I went through a similar thought process around using position info to make this stuff work.
This child-doc approach used here seems the cleanest by far.

> Nested Document query support
> -----------------------------
>                 Key: LUCENE-2454
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 3.0.2
>            Reporter: Mark Harwood
>            Assignee: Mark Harwood
>            Priority: Minor
>         Attachments:
> A facility for querying nested documents in a Lucene index as outlined in

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:
For additional commands, e-mail:

View raw message