- 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:
Otis Gospodnetic 2003-05-24 15:24:26 +00:00
parent 4698c92735
commit 956b3c988a
1 changed files with 9 additions and 5 deletions

View File

@ -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();
}