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 "Noble Paul (JIRA)" <ji...@apache.org> on 2009/02/20 12:41:01 UTC

[jira] Updated: (SOLR-1029) Standardize Evaluator parameter handling

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

Noble Paul updated SOLR-1029:
-----------------------------

    Attachment: SOLR-1029.patch

EvaluatorBag.parseParams() can do the parsing of function params in the standard format. 

a change to the existing function formatDate() the second parameter must be enclosed in single quotes

> Standardize Evaluator parameter handling
> ----------------------------------------
>
>                 Key: SOLR-1029
>                 URL: https://issues.apache.org/jira/browse/SOLR-1029
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1029.patch
>
>
> The evaluator parameter syntax is not well defined and inconsistent in some places. This issue aims to standardize on the following:
> # String parameters should be enclosed in a single quote
> # Variables can be written as-is
> # Numbers (integers or floats) can be written as-is
> We will enforce this among the existing evaluators and provide helper functions for this parsing which future implementations can use.

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