mirror of https://github.com/apache/lucene.git
Adding a small comment that says people should use only one IndexSearches for all searches.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150554 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d187ef261c
commit
360d91dde7
|
@ -27,7 +27,8 @@ import org.apache.lucene.index.Term;
|
|||
/** Implements search over a single IndexReader.
|
||||
*
|
||||
* <p>Applications usually need only call the inherited {@link #search(Query)}
|
||||
* or {@link #search(Query,Filter)} methods.
|
||||
* or {@link #search(Query,Filter)} methods. For performance reasons it is
|
||||
* recommended to open only one IndexSearcher and use it for all of your searches.
|
||||
*/
|
||||
public class IndexSearcher extends Searcher {
|
||||
IndexReader reader;
|
||||
|
|
Loading…
Reference in New Issue