但是,有一种类型的对象与普通的对象不同,却尤为重要,它就是目录对象(Directory Object)。目录对象与其它对象的不同之处在于,目录对象有属性(Attfibutes),而且这些属性有很重要的用处与价值,并且它们可以随对象一...
基于126个网页-相关网页
You can also store the index in a Lucene Directory object.
你也可以把索引存在一个Lucene Directory对象里面。
A Lucene Directory object (see the section about Directory objects under "Indexing in Depth", above).
一个Lucene Directory对象(参见上面“深入索引”中有关Directory对象的一节)。
The other two constructors just turn your file path or Directory object into an IndexReader by calling the static method IndexReader.open .
其他两个构造方法只是调用静态方法IndexReader . open把你的文件路径或Directory对象转换成一个IndexReader。
应用推荐