> How do I keep only one IndexSearcher open for all the searches on my
> website?

In order to keep your IndexSearcher open, simply do not close it and
serve the reference to the same object instance for different HTTP
request clients.

This can easily be achieved using Singleton wrapper around
IndexSearcher which would be sitting somewhere in your backend server
API.

m.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to