: as an intermediate hack the best solution i see is to just make the 
: chapter fields multivalued fields inside the resolutions, this should be 
: a decent solution for (a), though this way i will not really have any 
: information on the number of chapters matched (let alone their id's). 
: this approach however also means that i need to index the chapters 
: separately again for the type (b) search.

this is in fact what i recommend ... for usecase (a) the documents with 
multiple "chapters" matching will already score higher, so unless you 
specificly need to saying "X or Y chapters matched" when you display each 
document things should work fine for hte most part.

This general appraoch is mentioned on the wiki...

http://wiki.apache.org/solr/MultipleIndexes#Flattening_Data_Into_a_Single_Index



-Hoss

Reply via email to