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 "Mark Miller (JIRA)" <ji...@apache.org> on 2010/02/04 17:08:27 UTC

[jira] Created: (SOLR-1756) the date.format setting does not work

the date.format setting does not work
-------------------------------------

                 Key: SOLR-1756
                 URL: https://issues.apache.org/jira/browse/SOLR-1756
             Project: Solr
          Issue Type: Bug
          Components: contrib - Solr Cell (Tika extraction)
    Affects Versions: 1.4
            Reporter: Mark Miller
            Assignee: Mark Miller
             Fix For: 1.5


There is a bad cast (casts to String when its a Map.Entry), and an iterator is used by constantly creating a new iterator rather than using the same one - so it never actually iterates, and calling hasNext on a new iterator every time creates an infinite loop.

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


[jira] Commented: (SOLR-1756) the date.format setting does not work

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829632#action_12829632 ] 

Mark Miller commented on SOLR-1756:
-----------------------------------

Couple System.out's in there that I will remove before committing.

> the date.format setting does not work
> -------------------------------------
>
>                 Key: SOLR-1756
>                 URL: https://issues.apache.org/jira/browse/SOLR-1756
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction)
>    Affects Versions: 1.4
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 1.5
>
>         Attachments: SOLR-1756.patch
>
>
> There is a bad cast (casts to String when its a Map.Entry), and an iterator is used by constantly creating a new iterator rather than using the same one - so it never actually iterates, and calling hasNext on a new iterator every time creates an infinite loop.

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


[jira] Updated: (SOLR-1756) the date.format setting does not work

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

Mark Miller updated SOLR-1756:
------------------------------

    Attachment: SOLR-1756.patch

> the date.format setting does not work
> -------------------------------------
>
>                 Key: SOLR-1756
>                 URL: https://issues.apache.org/jira/browse/SOLR-1756
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction)
>    Affects Versions: 1.4
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 1.5
>
>         Attachments: SOLR-1756.patch
>
>
> There is a bad cast (casts to String when its a Map.Entry), and an iterator is used by constantly creating a new iterator rather than using the same one - so it never actually iterates, and calling hasNext on a new iterator every time creates an infinite loop.

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


[jira] Resolved: (SOLR-1756) the date.format setting does not work

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

Mark Miller resolved SOLR-1756.
-------------------------------

    Resolution: Fixed

Thanks a lot Christoph!

> the date.format setting does not work
> -------------------------------------
>
>                 Key: SOLR-1756
>                 URL: https://issues.apache.org/jira/browse/SOLR-1756
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction)
>    Affects Versions: 1.4
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 1.5
>
>         Attachments: SOLR-1756.patch
>
>
> There is a bad cast (casts to String when its a Map.Entry), and an iterator is used by constantly creating a new iterator rather than using the same one - so it never actually iterates, and calling hasNext on a new iterator every time creates an infinite loop.

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


[jira] Commented: (SOLR-1756) the date.format setting does not work

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829630#action_12829630 ] 

Mark Miller commented on SOLR-1756:
-----------------------------------

Reported by Christoph Brill: http://search.lucidimagination.com/search/document/f101a31730de0627/classcastexception_setting_date_formats_in_extractingrequesthandler

> the date.format setting does not work
> -------------------------------------
>
>                 Key: SOLR-1756
>                 URL: https://issues.apache.org/jira/browse/SOLR-1756
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction)
>    Affects Versions: 1.4
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 1.5
>
>
> There is a bad cast (casts to String when its a Map.Entry), and an iterator is used by constantly creating a new iterator rather than using the same one - so it never actually iterates, and calling hasNext on a new iterator every time creates an infinite loop.

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