lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kroh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3336) SolrEntityProcessor should substitute params at query time, not startup time
Date Mon, 14 May 2012 07:40:03 GMT

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

Michael Kroh updated SOLR-3336:
-------------------------------

    Attachment: SolrEntityProcessor.java

Hi Martijn,
as discussed in Boston please find attached my modified Version of SolrEntityProvessor. The
version is able to hande the entity on Top Level.
Best regards
Michael
                
> 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.5, 4.0
>            Reporter: Lance Norskog
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message