Package org.apache.lucene.luke.models
Class LukeModel
- java.lang.Object
-
- org.apache.lucene.luke.models.LukeModel
-
- Direct Known Subclasses:
CommitsImpl,DocumentsImpl,IndexToolsImpl,OverviewImpl,SearchImpl
public abstract class LukeModel extends Object
Abstract model class. It holds index reader object and provides basic features for all concrete sub classes.
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexCommitcommitprotected Directorydirprotected BitsliveDocsprotected IndexReaderreader
-
Constructor Summary
Constructors Modifier Constructor Description protectedLukeModel(IndexReader reader)protectedLukeModel(Directory dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getFieldNames()
-
-
-
Field Detail
-
dir
protected Directory dir
-
reader
protected IndexReader reader
-
liveDocs
protected Bits liveDocs
-
commit
protected IndexCommit commit
-
-
Constructor Detail
-
LukeModel
protected LukeModel(IndexReader reader)
-
LukeModel
protected LukeModel(Directory dir)
-
-
Method Detail
-
getFieldNames
public Collection<String> getFieldNames()
-
-