[
https://issues.apache.org/jira/browse/SOLR-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879226#action_12879226
]
Lance Norskog commented on SOLR-1607:
-------------------------------------
Looking at ExternalFileField, I think it should be a SolrMBean. Because it has
an external file configuration, it should be visible through the system stats
component.
The simplest way to handle both ExternalFileField and QueryElevationComponent
to do the same thing that JSP pages and Solr's XSLT processor do: poll the file
modification time.If it has changed within the past N minutes, reinit.
A more general-purpose way to do it is to somehow get each EFF field registered
as a SolrMBean. At that point, all EFF and Elevation instance have XPath names
in the SystemInfoHandler. Then, add a 'Reload' interface to EFF and QEC and a
'Find and Reload' AdminHandler that takes and XPath, finds the MBean, and calls
'reload()'.
> use a proper key other than IndexReader for ExternalFileField and
> QueryElevationCompenent to work properly when reopenReaders is set to true
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-1607
> URL: https://issues.apache.org/jira/browse/SOLR-1607
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 1.4
> Reporter: Koji Sekiguchi
> Assignee: Koji Sekiguchi
> Priority: Minor
> Fix For: Next
>
>
> As introducing reopenReaders feature in 1.4, this prevent reload
> external_[fieldname] and elevate.xml files in dataDir when commit is
> submitted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]