zhangbaodan commented on issue #720:
URL: https://github.com/apache/lucenenet/issues/720#issuecomment-1294626680

   @rclabo  You are right, I should have each search, first call 
searcherManager. MaybeRefresh (). However, in the PC search scenario, at least 
10+ files are generated every second, and the user's search operation is very 
low frequency. So every time you search, MaybeRefresh must be true. So I took 
the lazy step of just getting IndexReader from IndexWriter, which took almost 
0ms
   
   In a word, I really like your solution, which helped me a lot.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to