Hi, The idea here is to use a special Tokenizer that creates multiple tokens of Path-like structures (think of file system paths). If your tree and its nodes are organized like this, you can use it to do the task. Doesn't matter if it's Lucene or Solr. Analyzers and their components can be used in both.
Uwe ----- Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Cristian Lorenzetto [mailto:cristian.lorenze...@gmail.com] > Sent: Sunday, March 5, 2017 6:13 PM > To: Lucene Users <java-user@lucene.apache.org> > Subject: Re: how to search a tree node in lucene? > > it is lucene or solr? I m using lucene. > > 2017-03-05 18:06 GMT+01:00 Erick Erickson <erickerick...@gmail.com>: > > > PathHeirarchyTokenizer? > > > > On Sat, Mar 4, 2017 at 5:00 PM, Cristian Lorenzetto > > <cristian.lorenze...@gmail.com> wrote: > > > ah right ... facet ? it isnt? > > > > > > 2017-03-05 1:32 GMT+01:00 Cristian Lorenzetto < > > cristian.lorenze...@gmail.com > > >>: > > > > > >> Hi > > >> i might implement a performant solution for searching a tree node, > > parent > > >> of a node , children of a node. > > >> > > >> a simple idea is > > >> > > >> save the path to specific node > > >> and searching prefix/suffix... > > >> > > >> > > >> Is there a specific solution in the lucene libraries for doing it? > > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org