Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. test-site/app/components/ComponentsUtil.java

    package components;
    
    import org.codelibs.elasticsearch.runner.ElasticsearchClusterRunner;
    import org.codelibs.fess.suggest.Suggester;
    
    public class ComponentsUtil {
        public static String contentIndexName;
    
        public static String contentTypeName;
    
        public static ElasticsearchClusterRunner runner;
    
        public static Suggester suggester;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 347 bytes
    - Viewed (0)
  2. test-site/app/Global.java

            runner.ensureYellow();
    
            ComponentsUtil.runner = runner;
        }
    
        private void createComponents() {
            try {
                ComponentsUtil.contentIndexName = "test-content";
                ComponentsUtil.contentTypeName = "test";
                ComponentsUtil.suggester = Suggester.builder().build(ComponentsUtil.runner.client(), "test");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Feb 23 14:02:03 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. 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);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. test-site/app/models/SuggestIndex.java

        public void index() {
            Suggester suggester = ComponentsUtil.suggester;
            DocumentReader reader = new ESSourceReader(ComponentsUtil.runner.client(),
                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)
  5. README.ja.md

    ```
    
    ### Add suggest documents from source of index
    
    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
    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. test-site/app/models/ContentsCreator.java

                    Map<String, Object> source = new HashMap<>();
                    source.put("content", extractHtml(body));
                    ComponentsUtil.runner.client().prepareIndex()
                        .setIndex(ComponentsUtil.contentIndexName)
                        .setType(ComponentsUtil.contentTypeName)
                        .setCreate(true)
                        .setSource(source)
                        .execute()
                        .actionGet();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
Back to top