thinkmap.server.search
Class IndexMetadata
java.lang.Object
thinkmap.server.search.IndexMetadata
- All Implemented Interfaces:
- Serializable
public class IndexMetadata
- extends Object
- implements Serializable
- See Also:
- Serialized Form
lastIndexTime
protected Date lastIndexTime
documentCount
protected int documentCount
typeMap
protected Map<String,List<String>> typeMap
fieldMap
protected Map<String,Map<String,FieldDef<?>>> fieldMap
condensedFieldMap
protected Map<String,Set<FieldDef<?>>> condensedFieldMap
IndexMetadata
public IndexMetadata(IDataSource ds)
getLastIndexTime
public Date getLastIndexTime()
getDocumentCount
public int getDocumentCount()
load
protected static IndexMetadata load(org.apache.lucene.search.IndexSearcher is)
throws IOException
- Throws:
IOException
save
protected void save(org.apache.lucene.index.IndexWriter writer)
throws IOException
- Throws:
IOException
typeList
protected List<String> typeList(HashMap<String,EntityType> types,
String type)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.