: I have many taxonomies and each document can apply to some of them. I dont
: know how many taxonomies they are, so i cant define a field in the schema
: for each taxonomy (one field per each taxonomy).
: 
: I want to use these feature but i need to know if i can handle the context
: where each document apply few taxonomies and i cant define a field for each
: taxonomy on the schema because they are dinamyc. Can Solr handle these
: situation?

Well, i'm not sure that i really understand your question...

you could easily use a dynamic field to declare taxonomy_* naming pattern 
for all of your taxonomy fields.  so then as long as you know what 
taxonomies each doc is in (and which branches it is in in each of those 
taxonomies) when you index teh doc you'd be fine.  but if you don't 
actaully know the list of all taxonomies, what owuld you do with those 
fields once you indexed them?

alternately you could model your data so that you only had one "taxonomy" 
field, and the root level nodes of that taxonomy would be the names of 
each of the multitudes of taxonomies you have -- then the same faceting 
tricks i described in that webinar would work (but again: youd have to 
know know what taxonomies each doc is in, and which branches it is in in 
each of those taxonomies, when you index each doc).





-Hoss

Reply via email to