Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 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. README.ja.md

    ```
    
    ### Add suggest document from queryLog
    
    クエリーログ(query_string)を解析してサジェストドキュメントを登録
    
    ```java
    QueryLog queryLog = new QueryLog("field1:value1", null);
    suggester.indexer().indexFromQueryLog(queryLog);
    ```
    
    ### Add suggest document from search words
    
    検索語を解析してサジェストドキュメントを登録
    
    ```java
    SuggestIndexResponse indexResponse = suggester.indexer().indexFromSearchWord("検索 エンジン", null, null, null, 1);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Jul 27 10:00:55 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  4. 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