de.folt.models.datamodel.lucene
Class LuceneDataSourceIndex

java.lang.Object
  extended by de.folt.models.datamodel.lucene.LuceneDataSourceIndex

public class LuceneDataSourceIndex
extends java.lang.Object

Author:
klemens To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Method Summary
 void closeIndex()
          Close the index.
 org.apache.lucene.analysis.standard.StandardAnalyzer getAnalyzer()
           
 java.lang.String getConfigfile()
           
 DataSource getDataSource()
           
 org.apache.lucene.index.IndexWriter getDataSourceLuceneIndex()
           
 org.apache.lucene.store.FSDirectory getLuceneIndexDirectory()
           
 org.apache.lucene.search.IndexSearcher getLuceneIndexSearcher()
           
 org.apache.lucene.queryParser.QueryParser getLuceneParser()
           
 int getMaxSearch()
           
static void main(java.lang.String[] args)
           
 void setAnalyzer(org.apache.lucene.analysis.standard.StandardAnalyzer analyzer)
           
 void setConfigfile(java.lang.String configfile)
           
 void setDataSource(DataSource dataSource)
           
 void setDataSourceLuceneIndex(org.apache.lucene.index.IndexWriter dataSourceLuceneIndex)
           
 void setLuceneIndexDirectory(org.apache.lucene.store.FSDirectory luceneIndexDirectory)
           
 void setLuceneIndexSearcher(org.apache.lucene.search.IndexSearcher luceneIndexSearcher)
           
 void setLuceneParser(org.apache.lucene.queryParser.QueryParser luceneParser)
           
 void setMaxSearch(int maxSearch)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)

closeIndex

public void closeIndex()
                throws java.io.IOException
Close the index.

Throws:
java.io.IOException

getAnalyzer

public org.apache.lucene.analysis.standard.StandardAnalyzer getAnalyzer()
Returns:
the analyzer

getConfigfile

public java.lang.String getConfigfile()
Returns:
the configfile

getDataSource

public DataSource getDataSource()
Returns:
the dataSource

getDataSourceLuceneIndex

public org.apache.lucene.index.IndexWriter getDataSourceLuceneIndex()
Returns:
the dataSourceLuceneIndex

getLuceneIndexDirectory

public org.apache.lucene.store.FSDirectory getLuceneIndexDirectory()
Returns:
the luceneIndexDirectory

getLuceneIndexSearcher

public org.apache.lucene.search.IndexSearcher getLuceneIndexSearcher()
Returns:
the luceneIndexSearcher

getLuceneParser

public org.apache.lucene.queryParser.QueryParser getLuceneParser()
Returns:
the luceneParser

getMaxSearch

public int getMaxSearch()
Returns:
the maxSearch

setAnalyzer

public void setAnalyzer(org.apache.lucene.analysis.standard.StandardAnalyzer analyzer)
Parameters:
analyzer - the analyzer to set

setConfigfile

public void setConfigfile(java.lang.String configfile)
Parameters:
configfile - the configfile to set

setDataSource

public void setDataSource(DataSource dataSource)
Parameters:
dataSource - the dataSource to set

setDataSourceLuceneIndex

public void setDataSourceLuceneIndex(org.apache.lucene.index.IndexWriter dataSourceLuceneIndex)
Parameters:
dataSourceLuceneIndex - the dataSourceLuceneIndex to set

setLuceneIndexDirectory

public void setLuceneIndexDirectory(org.apache.lucene.store.FSDirectory luceneIndexDirectory)
Parameters:
luceneIndexDirectory - the luceneIndexDirectory to set

setLuceneIndexSearcher

public void setLuceneIndexSearcher(org.apache.lucene.search.IndexSearcher luceneIndexSearcher)
Parameters:
luceneIndexSearcher - the luceneIndexSearcher to set

setLuceneParser

public void setLuceneParser(org.apache.lucene.queryParser.QueryParser luceneParser)
Parameters:
luceneParser - the luceneParser to set

setMaxSearch

public void setMaxSearch(int maxSearch)
Parameters:
maxSearch - the maxSearch to set