Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for indexFromDocument (0.18 sec)

  1. test-site/app/models/SuggestIndex.java

                suggester.settings(),
                ComponentsUtil.contentIndexName,
                ComponentsUtil.contentTypeName);
            suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
            suggester.refresh();
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 964 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        @Deprecated
        public Deferred<SuggestIndexResponse>.Promise indexFromDocument(final Supplier<DocumentReader> reader, final int docPerReq,
                final long requestInterval) {
            return indexFromDocument(reader, docPerReq, () -> ThreadUtil.sleep(requestInterval));
        }
    
        public Deferred<SuggestIndexResponse>.Promise indexFromDocument(final Supplier<DocumentReader> reader, final int docPerReq,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.indexer().indexFromDocument(new Map[] { Collections.singletonMap(field, (Object) "この柿は美味しい。") });
            suggester.indexer().addElevateWord(elevateWord, true);
            suggester.refresh();
    
            Thread.sleep(1000);
            ZonedDateTime threshold = ZonedDateTime.now();
            Thread.sleep(1000);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. README.md

    ### Add suggest documents from source of index
    
    ```java
    DocumentReader reader = new ESSourceReader(
        client,
        suggester.settings(),
        "contentIndexName",
        "contentTypeName");
    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)
  5. README.ja.md

    Elasticsearchにインデックスされているコンテンツを解析してサジェストドキュメントを生成します。
    
    ```java
    DocumentReader reader = new ESSourceReader(
        client,
        suggester.settings(),
        "contentIndexName",
        "contentTypeName");
    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    ### Add suggest document from queryLog
    
    クエリーログ(query_string)を解析してサジェストドキュメントを登録
    
    ```java
    QueryLog queryLog = new QueryLog("field1:value1", null);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Jul 27 10:00:55 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final int docPerReq = fessConfig.getSuggestUpdateDocPerRequestAsInteger();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            suggester.indexer().indexFromDocument(() -> {
                final ESSourceReader reader = new ESSourceReader(ComponentUtil.getSearchEngineClient(), suggester.settings(),
                        fessConfig.getIndexDocumentSearchIndex());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top