Andy Armstrong wrote:
Vadim Gritsenko wrote:
I'm currently attempting to add a Lucene based full text indexer to Xindice 1.1b3. A Lucene index needs to be explicitly closed but it seems that, certainly in embedded mode, an indexer's close() method never gets called so I don't get to close my Lucene index.
Is it called in xml-rpc mode?
I haven't checked.
I guess no. Database.close() is (almost) no-op...
It'll be fairly simple to add I think but I'm wondering if I'm missing something important :)
I'll take a look at this.
OK. I have a patch that fixes it in embedded mode if it's any use.
Send it in, I can have a look today evening.
Vadim