mirror of https://github.com/apache/lucene.git
- Javadoc improvement.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149990 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4698c92735
commit
956b3c988a
|
@ -85,7 +85,11 @@ public class IndexSearcher extends Searcher implements Searchable {
|
|||
reader = r;
|
||||
}
|
||||
|
||||
/** Frees resources associated with this Searcher. */
|
||||
/**
|
||||
* Frees resources associated with this Searcher.
|
||||
* Be careful not to call this method while you are still using objects
|
||||
* like {@link Hits}.
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
reader.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue