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: [email protected]

> -----Original Message-----
> From: Cristian Lorenzetto [mailto:[email protected]]
> Sent: Sunday, March 5, 2017 6:13 PM
> To: Lucene Users <[email protected]>
> 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 <[email protected]>:
> 
> > PathHeirarchyTokenizer?
> >
> > On Sat, Mar 4, 2017 at 5:00 PM, Cristian Lorenzetto
> > <[email protected]> wrote:
> > > ah right ... facet ?  it isnt?
> > >
> > > 2017-03-05 1:32 GMT+01:00 Cristian Lorenzetto <
> > [email protected]
> > >>:
> > >
> > >> 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: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to