thinkmap.server.search
Class Indexer

java.lang.Object
  extended by thinkmap.server.search.Indexer

public class Indexer
extends Object

Version:
$Revision $

Constructor Summary
protected Indexer()
           
 
Method Summary
 void buildIndex(IDataSource ds, DataSourceIndex source, IThinkmapContext context)
           
 void cancel()
           
static Indexer checkoutIndexer(File dir)
           
 int getDocumentsProcessed()
           
 File getIndexLocation()
           
 long getProcessingTime()
           
 String getStatus()
           
protected  void init(File dir)
           
 boolean isIndexing()
           
static void returnIndexer(Indexer i)
           
 void setDefaultAnalyzer(org.apache.lucene.analysis.Analyzer defaultAnalyzer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Indexer

protected Indexer()
Method Detail

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.