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 "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/09/29 20:14:18 UTC

[jira] Created: (SOLR-1473) Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes

Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes
---------------------------------------------------------------------------------------

                 Key: SOLR-1473
                 URL: https://issues.apache.org/jira/browse/SOLR-1473
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
    Affects Versions: 1.3
            Reporter: Shalin Shekhar Mangar
            Assignee: Shalin Shekhar Mangar
             Fix For: 1.4


Reported by Bill Dueber:

http://www.lucidimagination.com/search/document/fdcbcb1360a92057/dataimporter_last_index_time_as_an_argument_to_newerthan_in_filelistentityprocessor

The root cause is that when last_index_time is not available (first import), FileListEntityProcessor will throw a ParseException.

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


[jira] Resolved: (SOLR-1473) Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes

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

Shalin Shekhar Mangar resolved SOLR-1473.
-----------------------------------------

    Resolution: Fixed

Committed revision 820237.

Thanks for noticing this Bill!

> Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-1473
>                 URL: https://issues.apache.org/jira/browse/SOLR-1473
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1473.patch, SOLR-1473.patch
>
>
> Reported by Bill Dueber:
> http://www.lucidimagination.com/search/document/fdcbcb1360a92057/dataimporter_last_index_time_as_an_argument_to_newerthan_in_filelistentityprocessor
> The root cause is that when last_index_time is not available (first import), FileListEntityProcessor will throw a ParseException.

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


[jira] Updated: (SOLR-1473) Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes

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

Shalin Shekhar Mangar updated SOLR-1473:
----------------------------------------

    Attachment: SOLR-1473.patch

The fix with tests.

The tests pass after the dataimport.properties cleanup in SOLR-1474 is committed.

> Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-1473
>                 URL: https://issues.apache.org/jira/browse/SOLR-1473
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1473.patch
>
>
> Reported by Bill Dueber:
> http://www.lucidimagination.com/search/document/fdcbcb1360a92057/dataimporter_last_index_time_as_an_argument_to_newerthan_in_filelistentityprocessor
> The root cause is that when last_index_time is not available (first import), FileListEntityProcessor will throw a ParseException.

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


[jira] Updated: (SOLR-1473) Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes

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

Shalin Shekhar Mangar updated SOLR-1473:
----------------------------------------

    Attachment: SOLR-1473.patch

Returning null if variable is not resolved is not necessary now. Since last_index_time is always set (either to epoch or last index time), no changes to FileListEntityProcessor is needed. If a variable cannot be resolved then that is a valid point of failure.

I'll commit the tests shortly.

> Unable to use last_index_time in FileListEntityProcessor newerThan/olderThan attributes
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-1473
>                 URL: https://issues.apache.org/jira/browse/SOLR-1473
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1473.patch, SOLR-1473.patch
>
>
> Reported by Bill Dueber:
> http://www.lucidimagination.com/search/document/fdcbcb1360a92057/dataimporter_last_index_time_as_an_argument_to_newerthan_in_filelistentityprocessor
> The root cause is that when last_index_time is not available (first import), FileListEntityProcessor will throw a ParseException.

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