reading this incorrectly?
-kuro
-Original Message-
From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf
Of Yonik Seeley
Sent: Tuesday, October 20, 2009 9:37 AM
To: solr-dev@lucene.apache.org
Subject: Re: Where to free Tokenizer resources?
If you really want to release
If you really want to release/acquire your resources each time the
tokenizer is used, then release it in the close() and acquire in the
reset(). There is no done with this forever callback.
-Yonik
http://www.lucidimagination.com
On Tue, Oct 20, 2009 at 12:25 PM, Teruhiko Kurosaka
Yonik,
If you really want to release/acquire your resources each
time the tokenizer is used, then release it in the close()
and acquire in the reset(). There is no done with this
forever callback.
I wanted to avoid that because acquring this resource
is a relatively expensive operation.
What about acquiring the resource in your tokenizer factory instead of
at the tokenizer level?
Erik
On Oct 20, 2009, at 1:16 PM, Teruhiko Kurosaka wrote:
Yonik,
If you really want to release/acquire your resources each
time the tokenizer is used, then release it in the close()
-dev@lucene.apache.org
Subject: Re: Where to free Tokenizer resources?
What about acquiring the resource in your tokenizer factory
instead of at the tokenizer level?
Erik
On Oct 20, 2009, at 1:16 PM, Teruhiko Kurosaka wrote:
Yonik,
If you really want to release/acquire