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

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.

Cheers
Mark

> Nested Document query support
> -----------------------------
>
>                 Key: LUCENE-2454
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2454
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 3.0.2
>            Reporter: Mark Harwood
>            Assignee: Mark Harwood
>            Priority: Minor
>         Attachments: 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]

Reply via email to