lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: how to search a tree node in lucene?
Date Sun, 05 Mar 2017 17:41:43 GMT
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: uwe@thetaphi.de

> -----Original Message-----
> From: Cristian Lorenzetto [mailto:cristian.lorenzetto@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 <erickerickson@gmail.com>:
> 
> > PathHeirarchyTokenizer?
> >
> > On Sat, Mar 4, 2017 at 5:00 PM, Cristian Lorenzetto
> > <cristian.lorenzetto@gmail.com> wrote:
> > > ah right ... facet ?  it isnt?
> > >
> > > 2017-03-05 1:32 GMT+01:00 Cristian Lorenzetto <
> > cristian.lorenzetto@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-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message