[jira] Created: (SOLR-522) analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-522) analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters

JIRA jira@apache.org
analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters
----------------------------------------------------------------------------------

                 Key: SOLR-522
                 URL: https://issues.apache.org/jira/browse/SOLR-522
             Project: Solr
          Issue Type: Improvement
          Components: web gui
            Reporter: Tricia Williams
            Priority: Trivial


Add payload content to the vebose output of the analysis.jsp page for debugging purposes.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-522) analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tricia Williams updated SOLR-522:
---------------------------------

    Attachment: SOLR-522-analysis.jsp.patch

Added if block to analysis.jsp which converts the Payload's byte stream directly to a String for display.  This might not suit the use case of all payloads so this may need to be revisited as those emerge.

> analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-522
>                 URL: https://issues.apache.org/jira/browse/SOLR-522
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Tricia Williams
>            Priority: Trivial
>         Attachments: SOLR-522-analysis.jsp.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Add payload content to the vebose output of the analysis.jsp page for debugging purposes.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-522) analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tricia Williams updated SOLR-522:
---------------------------------

    Attachment: SOLR-522-analysis.jsp.patch

Modified patch uses Yonik's suggestion:

As a useful first step for debugging purposes, it seems like the full
hex of the raw bytes should always be output.  If it seems to be
ascii, that could be put in parens.
example: 636f6f6c (cool)

and incorporates Hoss' suggestion for printable Strings:

if i were tasked with
trying to find a way to display in HTML an arbitrary byte[] that may or
may not be a String, i would start by attempting a String conversion, if
that succeds *and* all chars in the resulting String are "printable" (
ie: Character.isDefined(c) && ! Character.isISOCOntrol(c)) then display
the first N chars (where N is some reasonable max size to display) ... if
not, then just display the first N characters of the hex string
representing the byte[].

> analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-522
>                 URL: https://issues.apache.org/jira/browse/SOLR-522
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Tricia Williams
>            Priority: Trivial
>         Attachments: SOLR-522-analysis.jsp.patch, SOLR-522-analysis.jsp.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Add payload content to the vebose output of the analysis.jsp page for debugging purposes.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (SOLR-522) analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Klaas reassigned SOLR-522:
-------------------------------

    Assignee: Mike Klaas

> analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-522
>                 URL: https://issues.apache.org/jira/browse/SOLR-522
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Tricia Williams
>            Assignee: Mike Klaas
>            Priority: Trivial
>         Attachments: SOLR-522-analysis.jsp.patch, SOLR-522-analysis.jsp.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Add payload content to the vebose output of the analysis.jsp page for debugging purposes.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-522) analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Klaas updated SOLR-522:
----------------------------

    Fix Version/s: 1.3

> analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-522
>                 URL: https://issues.apache.org/jira/browse/SOLR-522
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Tricia Williams
>            Assignee: Mike Klaas
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: SOLR-522-analysis.jsp.patch, SOLR-522-analysis.jsp.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Add payload content to the vebose output of the analysis.jsp page for debugging purposes.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-522) analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-522.
-------------------------------

    Resolution: Fixed

I just committed this.  Thanks Tricia!

> analysis.jsp doesn't show payloads created/modified by tokenizers and tokenfilters
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-522
>                 URL: https://issues.apache.org/jira/browse/SOLR-522
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Tricia Williams
>            Assignee: Mike Klaas
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: SOLR-522-analysis.jsp.patch, SOLR-522-analysis.jsp.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Add payload content to the vebose output of the analysis.jsp page for debugging purposes.

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