Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for indexFromQueryLog (0.1 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. README.md

    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    ### Add suggest document from queryLog
    
    ```java
    QueryLog queryLog = new QueryLog("field1:value1", null);
    suggester.indexer().indexFromQueryLog(queryLog);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. 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