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.Exception
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public void reinit(boolean eraseIndex) throws java.lang.Exception
java.lang.Exception
public 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.IOException
public 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.IOException
public 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.IOException
public QueryMaker getQueryMaker(ReadTask readTask)
public java.util.Map<java.lang.String,AnalyzerFactory> getAnalyzerFactories()
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.