You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2009/03/09 21:21:50 UTC

[jira] Created: (SOLR-1057) PathTokenizerFactory

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

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.


[jira] Commented: (SOLR-1057) PathTokenizerFactory

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747137#action_12747137 ] 

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

Also, the field must be multi-valued. This should be added to the Factory.

> 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.


[jira] Commented: (SOLR-1057) PathTokenizerFactory

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (SOLR-1057) PathTokenizerFactory

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-1057:
--------------------------------

    Attachment: SOLR-1057-PathTokenizerFactory.patch

> 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
>
>
> 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.


[jira] Updated: (SOLR-1057) PathTokenizerFactory

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-1057:
--------------------------------

    Attachment: SOLR-1057-PathTokenizerFactory.patch

updated to use reusable token stuff

> 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.