Package it.unimi.di.big.mg4j.tool

Examples of it.unimi.di.big.mg4j.tool.IndexBuilder


        documentSequence = Scan.getSequence(sequence,
                IdentityDocumentFactory.class, new String[] {},
                Scan.DEFAULT_DELIMITER, LOGGER);

        LOGGER.info(String.format("Term processor class is %s", termProcessor.getClass()));
        IndexBuilder indexBuilder = new IndexBuilder(new File(directory,basename).getAbsolutePath(), documentSequence);
        indexBuilder.termProcessor(termProcessor).documentsPerBatch(
                documentsPerBatch);

        if (tmpDirectory != null)
            indexBuilder.batchDirName(tmpDirectory.getAbsolutePath());

        indexBuilder.run();
        return 0;
    }
View Full Code Here

TOP

Related Classes of it.unimi.di.big.mg4j.tool.IndexBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.