From document, getSearcher() will return previous IndexSearcher if 
index has not been modified, otherwise create new one.
So my question is for creating new one, do we need to close previous 
IndexSearcher and release some resources? (I know in this getSearcher 
method, if close previous searcher, may cause  thread share problem 
because maybe some threads are using  previous searcher. Maybe we could 
trace count-reference to solve this problem).

Thanks

Guang

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to