Package com.flaptor.hounder.searcher

Examples of com.flaptor.hounder.searcher.CacheSearcher


        indexer = new Indexer();
        searcher = new CompositeSearcher();
        baseSearcher = (Searcher)searcher.getBaseSearcher();

        cache = new LRUCache<QueryParams, GroupedSearchResults>(500);
        cacheSearcher = new CacheSearcher(baseSearcher, cache); //a cacheSearcher that uses the same baseSearcher
        baseSearcher.addCache(cache);
  }
View Full Code Here

TOP

Related Classes of com.flaptor.hounder.searcher.CacheSearcher

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.