[
https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418338#comment-13418338
]
Nagendra Nagarajayya commented on SOLR-3408:
--------------------------------------------
@Hoss, the problem does not occur in a Stock 3.6 as there is no NRT support in
3.6. The problem also does not occur with Realtime NRT enabled in 3.6. With
Solr 4.0 (build 2012-03-19 and 4.0-ALPHA) the problem goes away if faceting
method is facet.method=fcs. The problem may not be visible with soft commit as
soft commit closes the SolrIndexSearcher object every 1000 seconds or so.
Realtime NRT does not close the searcher object but passes a NRTIndexReader as
a parameter to the IndexSearcher object. I can provide a patch of Realtime NRT
implementation for 4.0-ALPHA ( I am submitting the Realtime NRT source to Solr
4.0 also )
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already
> closed:
> MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-3408
> URL: https://issues.apache.org/jira/browse/SOLR-3408
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 4.0-ALPHA
> Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
> Reporter: Nagendra Nagarajayya
> Labels: faceted-search, nrt,
> Fix For: 4.0
>
> Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/
> params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10}
> hits=8136707 status=500 QTime=29339
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput
> already closed:
> MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)
--
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: [email protected]
For additional commands, e-mail: [email protected]