it.unimi.di.mg4j.tool
Class PrecomputeIndex
java.lang.Object
it.unimi.di.mg4j.tool.PrecomputeIndex
public class PrecomputeIndex
- extends Object
Precomputes an index.
- Since:
- 4.0
- Author:
- Sebastiano Vigna
Constructor Summary |
PrecomputeIndex(String outputBasename,
String[] inputBasename,
String queryString,
String fieldName,
int bufferSize,
Map<CompressionFlags.Component,CompressionFlags.Coding> writerFlags,
boolean interleaved,
boolean skips,
int quantum,
int height,
int skipBufferSize,
long logInterval)
Precomputes an index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numberOfDocuments
protected final int numberOfDocuments
- The overall number of documents.
outputBasename
protected final String outputBasename
- The output basename.
PrecomputeIndex
public PrecomputeIndex(String outputBasename,
String[] inputBasename,
String queryString,
String fieldName,
int bufferSize,
Map<CompressionFlags.Component,CompressionFlags.Coding> writerFlags,
boolean interleaved,
boolean skips,
int quantum,
int height,
int skipBufferSize,
long logInterval)
throws IOException,
ConfigurationException,
URISyntaxException,
ClassNotFoundException,
SecurityException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
QueryParserException,
QueryBuilderVisitorException
- Precomputes an index.
- Parameters:
outputBasename
- the basename of the combined index.
- Throws:
QueryParserException
QueryBuilderVisitorException
IOException
ConfigurationException
URISyntaxException
ClassNotFoundException
SecurityException
InstantiationException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
run
public void run()
throws IOException,
ConfigurationException,
QueryBuilderVisitorException
- Throws:
IOException
ConfigurationException
QueryBuilderVisitorException
main
public static void main(String[] arg)
throws com.martiansoftware.jsap.JSAPException,
ConfigurationException,
IOException,
URISyntaxException,
ClassNotFoundException,
SecurityException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
QueryParserException,
QueryBuilderVisitorException
- Throws:
com.martiansoftware.jsap.JSAPException
ConfigurationException
IOException
URISyntaxException
ClassNotFoundException
SecurityException
InstantiationException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
QueryParserException
QueryBuilderVisitorException