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, 21 Mar 2011 15:14:06 GMT


Mark Harwood commented on LUCENE-2454:

Lucene does not dictate a schema and so using this approach to index design/querying is not
a problem with base Lucene.

Solr, however does introduce a schema and much more that assumes a "flat" model.  In the opening
chapters of the "Solr 1.4 Enterprise Search Server" book the authors take the time to discuss
the modelling limitations of this flat model and acknowledge this as an issue. The impact
of adopting "nested" documents in Solr at this stage would be very large.
There may be ways you can overcome some of your issues without requiring nested documents
(using phrase/span queries or combining tokens from multiple fields in Solr)  but in my experience
these are often poor alternatives if richer structures are important.


> 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.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message