while searching for the leak problem in my fst-suggest plugin I may have
found it - I will do the change in my production system and see what
happens possibly.
In order to get the IndexReader I use for the FSTSuggester I was calling
indexShard.searcher().searcher().getIndexReader()
instead of
indexShard.searcher().reader()
The release of the resources is called on indexShard.searcher().release()
though
so, my question is - why are there two index readers to get? Where is the
difference of those?
There isn't a different between the two readers, they are exactly the same.
On Thu, Jul 5, 2012 at 11:32 PM, Alexander Reelsen alr@spinscale.de wrote:
Heya,
while searching for the leak problem in my fst-suggest plugin I may have
found it - I will do the change in my production system and see what
happens possibly.
In order to get the IndexReader I use for the FSTSuggester I was calling
indexShard.searcher().searcher().getIndexReader()
instead of
indexShard.searcher().reader()
The release of the resources is called on indexShard.searcher().release()
though
so, my question is - why are there two index readers to get? Where is the
difference of those?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.