: MobileInfo. Now obviously, I need to index MobileInfo to support faceted
: browsing. How should I index SellingItem? The simplest way probably is to
: combile mobile phone specs in MobileInfo and and fields in SellingItem, and
: then index all of them. In this case, if I have 1000 SellingItems
: referencing a particular MobileInfo, I have to repeat the fields in
: MobileInfo a thousand times.

it depends on what you want ... hwat is the primary *thing* you want to
return from a search? .. is it a MobileInfo instance, from which people
can look at the list of mapped SellingItem isntances, or is it a
SellingItem instance, from which people can look at the relevent
MobileInfo? ... whatever that case *that* should be your document -- how
many extra fields you have hanging off of those documents is largely
irrelevant (particularly if those fields are Stored by not indexed, which
is what it seems like you would do if you made MobileInfo the documents,
and just wanted to be able to return the list of SellingItem instances for
each one)

Personally: I'd probably use two indexes: let people browse/search
"models" using an index with MobileInfo based documents, and once they
pick a model they like, search for it's identifier in a seperate
"SellingItems" based index.



-Hoss

Reply via email to