You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/08/26 21:59:52 UTC

[jira] [Commented] (SOLR-3336) SolrEntityProcessor should substitute params at query time, not startup time

    [ https://issues.apache.org/jira/browse/SOLR-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750471#comment-13750471 ] 

Hoss Man commented on SOLR-3336:
--------------------------------

Shalin: since this issue has already been recorded in the CHANGES for 3.6.1 and 4.0-ALPHA you should not attempt to re-open and re-fix under the label of this issue -- open a new bug and link them so once the "new" fix is applied it can be coherently recorded and there won't be any confusion about when the various pieces of the problem were resolved.
                
> SolrEntityProcessor should substitute params at query time, not startup time
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-3336
>                 URL: https://issues.apache.org/jira/browse/SOLR-3336
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.6, 4.0-ALPHA
>            Reporter: Lance Norskog
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 3.6.1, 4.0-ALPHA
>
>         Attachments: SolrEntityProcessor.java
>
>
> The SolrEntityProcessor performs variable substitution at startup, not at query time. This means that this technique cannot work:
> {code}
> <entity get a document>
>    <field SomeField/>
>    <entity SolrEntityProcessor query="${SomeField}"/>
> </entity>
> {code}
> The SEP should substitute the new value of SomeField into each query string.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org