Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for indexFromQueryLog (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            return new SuggestDeleteResponse(null, System.currentTimeMillis() - start);
        }
    
        public SuggestIndexResponse indexFromQueryLog(final QueryLog queryLog) {
            return indexFromQueryLog(new QueryLog[] { queryLog });
        }
    
        public SuggestIndexResponse indexFromQueryLog(final QueryLog[] queryLogs) {
            if (logger.isInfoEnabled()) {
                logger.info("Index from querylog. num: {}", queryLogs.length);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            SuggestSettings settings = suggester.settings();
            String field = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0];
    
            SuggestIndexResponse indexResponse = suggester.indexer().indexFromQueryLog(new QueryLog(field + ":検索", null));
            assertEquals(1, indexResponse.getNumberOfInputDocs());
            assertEquals(1, indexResponse.getNumberOfSuggestDocs());
            assertFalse(indexResponse.hasError());
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top