Package net.yacy.search.index

Examples of net.yacy.search.index.Segments


        // initialize index
        ReferenceContainer.maxReferences = getConfigInt("index.maxReferences", 0);
        final File oldSingleSegment = new File(new File(indexPath, networkName), "TEXT");
        final File newSegmentsPath = new File(new File(indexPath, networkName), "SEGMENTS");
        Segments.migrateOld(oldSingleSegment, newSegmentsPath, getConfig(SwitchboardConstants.SEGMENT_PUBLIC, "default"));
        this.indexSegments = new Segments(
                this.log,
                newSegmentsPath,
                wordCacheMaxCount,
                fileSizeMax,
                this.useTailCache,
View Full Code Here


                    this.networkRoot,
                    redundancy,
                    partitionExponent,
                    this.useTailCache,
                    this.exceed134217727);
            this.indexSegments = new Segments(
                    this.log,
                    new File(new File(indexPrimaryPath, networkName), "SEGMENTS"),
                    wordCacheMaxCount,
                    fileSizeMax,
                    this.useTailCache,
View Full Code Here

TOP

Related Classes of net.yacy.search.index.Segments

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.