Package org.fao.geonet.kernel.search.log

Examples of org.fao.geonet.kernel.search.log.SearcherLogger


                this.value = value;
    }

    public void run() {
        try {
            SearcherLogger searchLogger = new SearcherLogger(srvContext, logSpatialObject, luceneTermsToExclude);
            searchLogger.logSearch(query, numHits, sort, geomWKT, value);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here


                    Log.debug(Geonet.SEARCH_ENGINE,"Log search in asynch mode - end.");
            } else {
                // Run synch - alter search performance
                if(Log.isDebugEnabled(Geonet.SEARCH_ENGINE))
                    Log.debug(Geonet.SEARCH_ENGINE,"Log search in synch mode - start.");
                SearcherLogger searchLogger = new SearcherLogger(srvContext, sm.getLogSpatialObject(),
                        sm.getLuceneTermsToExclude());
                searchLogger.logSearch(query, numHits, sort, geomWKT,
                        config.getValue(Jeeves.Text.GUI_SERVICE,"n"));
                if(Log.isDebugEnabled(Geonet.SEARCH_ENGINE))
                    Log.debug(Geonet.SEARCH_ENGINE,"Log search in synch mode - end.");
            }
        }
View Full Code Here

TOP

Related Classes of org.fao.geonet.kernel.search.log.SearcherLogger

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.