thinkmap.server.search
Class Indexer
java.lang.Object
thinkmap.server.search.Indexer
public class Indexer
- extends Object
- Version:
- $Revision $
|
Constructor Summary |
protected |
Indexer()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Indexer
protected Indexer()
checkoutIndexer
public static Indexer checkoutIndexer(File dir)
throws IOException
- Throws:
IOException
returnIndexer
public static void returnIndexer(Indexer i)
init
protected void init(File dir)
throws IOException
- Throws:
IOException
getIndexLocation
public File getIndexLocation()
isIndexing
public boolean isIndexing()
getDocumentsProcessed
public int getDocumentsProcessed()
getProcessingTime
public long getProcessingTime()
getStatus
public String getStatus()
cancel
public void cancel()
setDefaultAnalyzer
public void setDefaultAnalyzer(org.apache.lucene.analysis.Analyzer defaultAnalyzer)
buildIndex
public void buildIndex(IDataSource ds,
DataSourceIndex source,
IThinkmapContext context)
throws IOException
- Throws:
IOException
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.