Package proj.zoie.api.DirectoryManager

Examples of proj.zoie.api.DirectoryManager.DIRECTORY_MODE


        String indexerType = _senseiConf.getString(SENSEI_INDEXER_TYPE, "zoie");
        decorator = new SenseiIndexReaderDecorator(facetHandlers, runtimeFacetHandlerFactories);
        File idxDir = new File(_senseiConf.getString(SENSEI_INDEX_DIR));
        SenseiZoieFactory<?> zoieSystemFactory = null;

        DIRECTORY_MODE dirMode;
        String modeValue = _senseiConf.getString(SENSEI_INDEXER_MODE, "SIMPLE");
        if ("SIMPLE".equalsIgnoreCase(modeValue)) {
            dirMode = DIRECTORY_MODE.SIMPLE;
        } else if ("NIO".equalsIgnoreCase(modeValue)) {
            dirMode = DIRECTORY_MODE.NIO;
View Full Code Here


    zoieConfig.setRtIndexing(true);
    zoieConfig.setVersionComparator(ZoiePerfVersion.COMPARATOR);
    zoieConfig.setReadercachefactory(SimpleReaderCache.FACTORY);

    String modeConf = topConf.getString("perf.directory.type", "file");
    DIRECTORY_MODE mode = modeMap.get(modeConf);
    if (mode == null) mode = DIRECTORY_MODE.SIMPLE;
    DirectoryManager dirMgr = new DefaultDirectoryManager(idxDir, mode);

    IndexReaderDecorator<IndexReader> indexReaderDecorator = new DefaultIndexReaderDecorator();
View Full Code Here

TOP

Related Classes of proj.zoie.api.DirectoryManager.DIRECTORY_MODE

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.