Package org.apache.slide.store

Examples of org.apache.slide.store.DefaultIndexer


                IndexStore propertiesIndexer =
                    (IndexStore) dereferenceStore (PROPERTIES_INDEX_STORE, childStores);
               
                // if not configured, take the default indexer
                if (propertiesIndexer == null) {
                    propertiesIndexer = new DefaultIndexer (revisionDescriptorStore);
                    childStores.put (PROPERTIES_INDEX_STORE, propertiesIndexer);
                }
               
                store.setPropertiesIndexer (propertiesIndexer);
               
                // assign ContentIndexStore
                IndexStore contentIndexer =
                    (IndexStore) dereferenceStore (CONTENT_INDEX_STORE, childStores);
               
                // if not configured, take the default indexer
                if (contentIndexer == null) {
                    contentIndexer = new DefaultIndexer (contentStore);
                    childStores.put (CONTENT_INDEX_STORE, contentIndexer);
                }
               
                store.setContentIndexer (contentIndexer);
               
View Full Code Here

TOP

Related Classes of org.apache.slide.store.DefaultIndexer

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.