Overload List

  NameDescription
Public methodIndexSearcher(String) Obsolete.
Creates a searcher searching the index in the named directory.
Public methodIndexSearcher(Directory) Obsolete.
Creates a searcher searching the index in the provided directory.
Public methodIndexSearcher(IndexReader)
Creates a searcher searching the provided index.
Public methodIndexSearcher(String, Boolean) Obsolete.
Creates a searcher searching the index in the named directory. You should pass readOnly=true, since it gives much better concurrent performance, unless you intend to do write operations (delete documents or change norms) with the underlying IndexReader.
Public methodIndexSearcher(Directory, Boolean)
Creates a searcher searching the index in the named directory. You should pass readOnly=true, since it gives much better concurrent performance, unless you intend to do write operations (delete documents or change norms) with the underlying IndexReader.

See Also