Each document can store all of the sub-categories that it belongs to, as a multiValued field.
You would need to get all of these categories when indexing a document. From a DB, this wcan be done with a recursive search in a stored procedure. On 4/14/10, stockii <st...@shopgate.com> wrote: > > Hello aaagain ;) > > Im searching for the best solution to search in many categories and > sub-Categories. > > My Setup is that. > - The Client Search for something in one Category. > - The client does only send the search-string and the Main-Category. > - The client is an iPhone app, no website or similar. > > --> Search in all Sub-Categories. > > the information that i can add to my index are cat_id, cat_parent_id, > cat_sub_ids > > so, how it is possible to perform such a search with only ONE information of > the client ? > > On Jira i found > -> https://issues.apache.org/jira/browse/SOLR-64 > -> https://issues.apache.org/jira/browse/SOLR-792 > > What do you think is the best way to do this ? > > thx > > > -- > View this message in context: > http://n3.nabble.com/Tree-Component-for-much-Categories-tp718910p718910.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Lance Norskog goks...@gmail.com