> > Ard, thanks a lot for your information. > > My real problem: I have a product tree as below, > > top_category_t1 > subcategoryx > producta > productb > subcategory_y > productc > productd > top_category_t2 > subcategoryz > producta > > producte > productf > subcategoryk > productg > producth > > The product has no category information because one product > could belong to more than one category. I wish if I search > for "subcategory_y", node "subcategory_y" could be returned.
Can't you search then for the nodename? Also just wondering, but are you duplicating the node 'producta'? Furthermore, I doubt whether you aren't to much focussing on the hierarchical structure. Why not just add all the categories as properties on a product, and 'derive' a hierarchical structure from this. It looks to me that you would like some kind of facetted navigation based on categories... Ard > > Any suggestion? > > Thanks a again. > Kevin > > > > > ----- Original Message ---- > From: Ard Schrijvers <[email protected]> > To: [email protected] > Sent: Monday, December 29, 2008 1:38:07 PM > Subject: RE: how to make the path name searchable > > > Hello Kevin, > > It is not possible without extending the Jackrabbit > SearchIndex (and having implication for moving nodes as well, > because you have to re-save the entire subtree). Furthermore, > the design is to not have any path information in the index > or in nodestates. This ensures move operation to be leight, > no matter how large the subtree below the node to move. > This wouldn't be possible if you would store path > information. I also think you'll run into really nasty issues > in case of same name sibblings. Last but not least, I doubt > whether having a search result based on path info is a good > strategy anyway... > > Ard > > > > > > Hi, > > > > Hope it's not a silly question -- is it possible to make > the path name > > searchable? For example, I have a product at > > /electronics/camera/canon/hf100. I would like the path > > /electronics/camera/canon included in the search result if I search > > for 'canon'. > > > > Thanks a lot, > > Kevin > > > > > >
