不过怎样,查询刨析器不是线程级安全的,所以每个使用索引的线程都需要有自己的查询刨析器。
However, the query parser is not thread safe, so each thread using the index should have its own query parser.
而索引写者是线程级安全的,所以你能在人们搜索它时更新索引。
The index writer however, is thread safe, so you can update the index while people are searching it.
管理和安全新指南,第30章:管理索引搜索。
Administration and Security Guide, Chapter 30: Managing Index search.
应用推荐