One way I've done to handle this, and it works only for some types of data,
is to put the searchable part of the sub-doc in a search field
(indexed=true) and put an xml or json representation of the sub-doc in a
stored only field. Then if the main doc is hit via search I can grab the xml
or json, convert it to an object graph and do whatever I want.

If you need to search on a variety of elements in the sub-doc this becomes
less useful an approach. But in some use-cases it worked for me.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Schema-Definition-Question-tp1049966p1110159.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to