[ 
https://issues.apache.org/jira/browse/SOLR-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747127#action_12747127
 ] 

Lance Norskog commented on SOLR-1057:
-------------------------------------

It is also useful to generate the reverse:
/
/ccc/bbb/aaa

When /aaa/bbb/ccc is a tree- (or directed graph-) structured taxonomy, it is 
useful in a UI to start and the bottom and find all of the paths it is part of. 
For example, orange is both a fruit and a color:

/color/warm/orange
/food/fruit/orange

I would want to say /orange* and get both of the above paths. I may or may not 
want to generate these:
/ccc
/ccc/bbb/

So that should probably be another option.



> PathTokenizerFactory
> --------------------
>
>                 Key: SOLR-1057
>                 URL: https://issues.apache.org/jira/browse/SOLR-1057
>             Project: Solr
>          Issue Type: New Feature
>          Components: Analysis
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-1057-PathTokenizerFactory.patch, 
> SOLR-1057-PathTokenizerFactory.patch
>
>
> This is a Tokenizer that splits the input string into a series of paths.  For 
> example:
> {panel}
>  /aaa/bbb/ccc
> {panel}
> becomes:
> {panel}
>  /aaa/
>  /aaa/bbb/
>  /aaa/bbb/ccc
> {panel}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to