Package com.flaptor.hounder.searcher.query

Examples of com.flaptor.hounder.searcher.query.SynonymQuerySuggestor


            searcher = new CacheSearcher(searcher, cache);
        }
        if (searcherConfig.getBoolean("compositeSearcher.useSynonymSuggestQuery")) {
            try {
                searcher = new SuggestQuerySearcher(searcher,
                            new SynonymQuerySuggestor(new File(searcherConfig.getString("searcher.suggestQuerySearcher.synonymFile"))),
                            searcherConfig.getInt("searcher.suggestQuerySearcher.minResults"),
                            searcherConfig.getFloat("searcher.suggestQuerySearcher.suggestionBetterByFactor"),
                            searcherConfig.getInt("searcher.suggestQuerySearcher.maxSuggestionsToTry"));
            } catch (java.io.IOException e) {
                logger.error("While creating WordQuerySuggestor:"+e,e);
View Full Code Here

TOP

Related Classes of com.flaptor.hounder.searcher.query.SynonymQuerySuggestor

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.