You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2011/05/22 06:06:47 UTC
[jira] [Updated] (SOLR-1607) use a proper key other than
IndexReader for ExternalFileField and QueryElevationCompenent to work
properly when reopenReaders is set to true
[ https://issues.apache.org/jira/browse/SOLR-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Sekiguchi updated SOLR-1607:
---------------------------------
Attachment: SOLR-1607-resetCache-EFF.patch
bq. What if you could just say: "reload the file"? Tying it to the commit operation is the core problem.
As it sounds reasonable to me, I wrote the attached patch to reset readerCache in FileFloatSource. I didn't care QueryElevationComponent in this patch.
I realized that it was not enough to reset it, because this patch worked well when I disabled queryResultCache. :)
So what can we do for this issue? Any comments/ideas would be appreciated.
> 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: 3.2, 4.0
>
> Attachments: SOLR-1607-resetCache-EFF.patch
>
>
> 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.
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