public class PerfRunData
extends java.lang.Object
implements java.io.Closeable
Data includes:
| Constructor and Description |
|---|
PerfRunData(Config config) |
public PerfRunData(Config config) throws java.lang.Exception
java.lang.Exceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void reinit(boolean eraseIndex)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getPerfObject(java.lang.String key)
setPerfObject(String, Object).public void setPerfObject(java.lang.String key,
java.lang.Object obj)
public long setStartTimeMillis()
public long getStartTimeMillis()
public Points getPoints()
public Directory getDirectory()
public void setDirectory(Directory directory)
directory - The directory to set.public Directory getTaxonomyDir()
public void setTaxonomyReader(TaxonomyReader taxoReader) throws java.io.IOException
taxoReader - The taxonomy reader to set.java.io.IOExceptionpublic TaxonomyReader getTaxonomyReader()
public void setTaxonomyWriter(TaxonomyWriter taxoWriter)
taxoWriter - The taxonomy writer to set.public TaxonomyWriter getTaxonomyWriter()
public DirectoryReader getIndexReader()
public IndexSearcher getIndexSearcher()
public void setIndexReader(DirectoryReader indexReader) throws java.io.IOException
indexReader - The indexReader to set.java.io.IOExceptionpublic IndexWriter getIndexWriter()
public void setIndexWriter(IndexWriter indexWriter)
indexWriter - The indexWriter to set.public Analyzer getAnalyzer()
public void setAnalyzer(Analyzer analyzer)
public ContentSource getContentSource()
public DocMaker getDocMaker()
public FacetSource getFacetSource()
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale - the locale to setpublic Config getConfig()
public void resetInputs()
throws java.io.IOException
java.io.IOExceptionpublic QueryMaker getQueryMaker(ReadTask readTask)
public java.util.Map<java.lang.String,AnalyzerFactory> getAnalyzerFactories()
Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.