You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ryan McKinley <ry...@gmail.com> on 2009/08/24 21:40:17 UTC

Path Tokenizer?

Hello-

I'm looking for a way to make tokens navigate a directory structure.   
For example:

Given:
/aaa/bbb/ccc

Make three Tokens:
/aaa/
/aaa/bbb/
/aaa/bbb/ccc

A while ago, I added:
http://issues.apache.org/jira/browse/SOLR-1057

Is there a "standard" way to do this?

thanks
ryan


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


Re: Path Tokenizer?

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
Hi Ryan,

I've looked for it when I implemented SOLR-64 patch, but not there.
So I implemented HierarchicalTokenFilterFactory.
I've not looked into your patch yet, but my impression is that probably
we can share such TokenFilter.

Thanks,

Koji


Ryan McKinley wrote:
> Hello-
>
> I'm looking for a way to make tokens navigate a directory structure.  
> For example:
>
> Given:
> /aaa/bbb/ccc
>
> Make three Tokens:
> /aaa/
> /aaa/bbb/
> /aaa/bbb/ccc
>
> A while ago, I added:
> http://issues.apache.org/jira/browse/SOLR-1057
>
> Is there a "standard" way to do this?
>
> thanks
> ryan
>
>
> ---------------------------------------------------------------------
> 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