فهرست منبع

fix #840 update index mapping and add description

Shinsuke Sugaya 8 سال پیش
والد
کامیت
7af5d6e7b6
50فایلهای تغییر یافته به همراه1057 افزوده شده و 288 حذف شده
  1. 9 0
      src/main/config/es/fess_config.json
  2. 1 0
      src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java
  3. 1 0
      src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java
  4. 1 0
      src/main/java/org/codelibs/fess/es/config/bsbhv/BsWebConfigBhv.java
  5. 17 0
      src/main/java/org/codelibs/fess/es/config/bsentity/BsDataConfig.java
  6. 17 0
      src/main/java/org/codelibs/fess/es/config/bsentity/BsFileConfig.java
  7. 17 0
      src/main/java/org/codelibs/fess/es/config/bsentity/BsWebConfig.java
  8. 9 0
      src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java
  9. 9 0
      src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileConfigDbm.java
  10. 9 0
      src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebConfigDbm.java
  11. 4 0
      src/main/java/org/codelibs/fess/es/config/cbean/bs/BsDataConfigCB.java
  12. 4 0
      src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java
  13. 4 0
      src/main/java/org/codelibs/fess/es/config/cbean/bs/BsWebConfigCB.java
  14. 55 0
      src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsDataConfigCA.java
  15. 55 0
      src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsFileConfigCA.java
  16. 55 0
      src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsWebConfigCA.java
  17. 212 0
      src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsDataConfigCQ.java
  18. 212 0
      src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java
  19. 212 0
      src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsWebConfigCQ.java
  20. 6 12
      src/main/resources/fess_indices/.fess_config/access_token.json
  21. 5 10
      src/main/resources/fess_indices/.fess_config/bad_word.json
  22. 4 8
      src/main/resources/fess_indices/.fess_config/boost_document_rule.json
  23. 2 4
      src/main/resources/fess_indices/.fess_config/crawling_info.json
  24. 3 6
      src/main/resources/fess_indices/.fess_config/crawling_info_param.json
  25. 10 14
      src/main/resources/fess_indices/.fess_config/data_config.json
  26. 2 4
      src/main/resources/fess_indices/.fess_config/data_config_to_label.json
  27. 2 4
      src/main/resources/fess_indices/.fess_config/data_config_to_role.json
  28. 4 8
      src/main/resources/fess_indices/.fess_config/duplicate_host.json
  29. 7 14
      src/main/resources/fess_indices/.fess_config/elevate_word.json
  30. 2 4
      src/main/resources/fess_indices/.fess_config/elevate_word_to_label.json
  31. 5 10
      src/main/resources/fess_indices/.fess_config/failure_url.json
  32. 8 16
      src/main/resources/fess_indices/.fess_config/file_authentication.json
  33. 13 20
      src/main/resources/fess_indices/.fess_config/file_config.json
  34. 2 4
      src/main/resources/fess_indices/.fess_config/file_config_to_label.json
  35. 2 4
      src/main/resources/fess_indices/.fess_config/file_config_to_role.json
  36. 6 12
      src/main/resources/fess_indices/.fess_config/job_log.json
  37. 4 8
      src/main/resources/fess_indices/.fess_config/key_match.json
  38. 2 4
      src/main/resources/fess_indices/.fess_config/label_to_role.json
  39. 7 14
      src/main/resources/fess_indices/.fess_config/label_type.json
  40. 6 12
      src/main/resources/fess_indices/.fess_config/path_mapping.json
  41. 5 10
      src/main/resources/fess_indices/.fess_config/request_header.json
  42. 4 8
      src/main/resources/fess_indices/.fess_config/role_type.json
  43. 8 16
      src/main/resources/fess_indices/.fess_config/scheduled_job.json
  44. 5 10
      src/main/resources/fess_indices/.fess_config/thumbnail_queue.json
  45. 9 18
      src/main/resources/fess_indices/.fess_config/web_authentication.json
  46. 14 22
      src/main/resources/fess_indices/.fess_config/web_config.json
  47. 2 4
      src/main/resources/fess_indices/.fess_config/web_config_to_label.json
  48. 2 4
      src/main/resources/fess_indices/.fess_config/web_config_to_role.json
  49. 2 2
      src/main/resources/fess_indices/fess/doc.json
  50. 1 2
      src/main/resources/fess_indices/fess_log/search_log.json

+ 9 - 0
src/main/config/es/fess_config.json

@@ -221,6 +221,9 @@
           "depth" : {
             "type" : "integer"
           },
+          "description" : {
+            "type": "text"
+          },
           "excludedDocUrls" : {
             "type": "keyword"
           },
@@ -425,6 +428,9 @@
           "createdTime" : {
             "type" : "long"
           },
+          "description" : {
+            "type": "text"
+          },
           "handlerName" : {
             "type": "keyword"
           },
@@ -672,6 +678,9 @@
           "depth" : {
             "type" : "integer"
           },
+          "description" : {
+            "type": "text"
+          },
           "excludedDocPaths" : {
             "type": "keyword"
           },

+ 1 - 0
src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

@@ -77,6 +77,7 @@ public abstract class BsDataConfigBhv extends EsAbstractBehavior<DataConfig, Dat
             result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
             result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
             result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
+            result.setDescription(DfTypeUtil.toString(source.get("description")));
             result.setHandlerName(DfTypeUtil.toString(source.get("handlerName")));
             result.setHandlerParameter(DfTypeUtil.toString(source.get("handlerParameter")));
             result.setHandlerScript(DfTypeUtil.toString(source.get("handlerScript")));

+ 1 - 0
src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java

@@ -79,6 +79,7 @@ public abstract class BsFileConfigBhv extends EsAbstractBehavior<FileConfig, Fil
             result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
             result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
             result.setDepth(DfTypeUtil.toInteger(source.get("depth")));
+            result.setDescription(DfTypeUtil.toString(source.get("description")));
             result.setExcludedDocPaths(DfTypeUtil.toString(source.get("excludedDocPaths")));
             result.setExcludedPaths(DfTypeUtil.toString(source.get("excludedPaths")));
             result.setIncludedDocPaths(DfTypeUtil.toString(source.get("includedDocPaths")));

+ 1 - 0
src/main/java/org/codelibs/fess/es/config/bsbhv/BsWebConfigBhv.java

@@ -79,6 +79,7 @@ public abstract class BsWebConfigBhv extends EsAbstractBehavior<WebConfig, WebCo
             result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
             result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
             result.setDepth(DfTypeUtil.toInteger(source.get("depth")));
+            result.setDescription(DfTypeUtil.toString(source.get("description")));
             result.setExcludedDocUrls(DfTypeUtil.toString(source.get("excludedDocUrls")));
             result.setExcludedUrls(DfTypeUtil.toString(source.get("excludedUrls")));
             result.setIncludedDocUrls(DfTypeUtil.toString(source.get("includedDocUrls")));

+ 17 - 0
src/main/java/org/codelibs/fess/es/config/bsentity/BsDataConfig.java

@@ -49,6 +49,9 @@ public class BsDataConfig extends EsAbstractEntity {
     /** createdTime */
     protected Long createdTime;
 
+    /** description */
+    protected String description;
+
     /** handlerName */
     protected String handlerName;
 
@@ -106,6 +109,9 @@ public class BsDataConfig extends EsAbstractEntity {
         if (createdTime != null) {
             sourceMap.put("createdTime", createdTime);
         }
+        if (description != null) {
+            sourceMap.put("description", description);
+        }
         if (handlerName != null) {
             sourceMap.put("handlerName", handlerName);
         }
@@ -143,6 +149,7 @@ public class BsDataConfig extends EsAbstractEntity {
         sb.append(dm).append(boost);
         sb.append(dm).append(createdBy);
         sb.append(dm).append(createdTime);
+        sb.append(dm).append(description);
         sb.append(dm).append(handlerName);
         sb.append(dm).append(handlerParameter);
         sb.append(dm).append(handlerScript);
@@ -201,6 +208,16 @@ public class BsDataConfig extends EsAbstractEntity {
         this.createdTime = value;
     }
 
+    public String getDescription() {
+        checkSpecifiedProperty("description");
+        return convertEmptyToNull(description);
+    }
+
+    public void setDescription(String value) {
+        registerModifiedProperty("description");
+        this.description = value;
+    }
+
     public String getHandlerName() {
         checkSpecifiedProperty("handlerName");
         return convertEmptyToNull(handlerName);

+ 17 - 0
src/main/java/org/codelibs/fess/es/config/bsentity/BsFileConfig.java

@@ -55,6 +55,9 @@ public class BsFileConfig extends EsAbstractEntity {
     /** depth */
     protected Integer depth;
 
+    /** description */
+    protected String description;
+
     /** excludedDocPaths */
     protected String excludedDocPaths;
 
@@ -136,6 +139,9 @@ public class BsFileConfig extends EsAbstractEntity {
         if (depth != null) {
             sourceMap.put("depth", depth);
         }
+        if (description != null) {
+            sourceMap.put("description", description);
+        }
         if (excludedDocPaths != null) {
             sourceMap.put("excludedDocPaths", excludedDocPaths);
         }
@@ -193,6 +199,7 @@ public class BsFileConfig extends EsAbstractEntity {
         sb.append(dm).append(createdBy);
         sb.append(dm).append(createdTime);
         sb.append(dm).append(depth);
+        sb.append(dm).append(description);
         sb.append(dm).append(excludedDocPaths);
         sb.append(dm).append(excludedPaths);
         sb.append(dm).append(includedDocPaths);
@@ -277,6 +284,16 @@ public class BsFileConfig extends EsAbstractEntity {
         this.depth = value;
     }
 
+    public String getDescription() {
+        checkSpecifiedProperty("description");
+        return convertEmptyToNull(description);
+    }
+
+    public void setDescription(String value) {
+        registerModifiedProperty("description");
+        this.description = value;
+    }
+
     public String getExcludedDocPaths() {
         checkSpecifiedProperty("excludedDocPaths");
         return convertEmptyToNull(excludedDocPaths);

+ 17 - 0
src/main/java/org/codelibs/fess/es/config/bsentity/BsWebConfig.java

@@ -55,6 +55,9 @@ public class BsWebConfig extends EsAbstractEntity {
     /** depth */
     protected Integer depth;
 
+    /** description */
+    protected String description;
+
     /** excludedDocUrls */
     protected String excludedDocUrls;
 
@@ -139,6 +142,9 @@ public class BsWebConfig extends EsAbstractEntity {
         if (depth != null) {
             sourceMap.put("depth", depth);
         }
+        if (description != null) {
+            sourceMap.put("description", description);
+        }
         if (excludedDocUrls != null) {
             sourceMap.put("excludedDocUrls", excludedDocUrls);
         }
@@ -199,6 +205,7 @@ public class BsWebConfig extends EsAbstractEntity {
         sb.append(dm).append(createdBy);
         sb.append(dm).append(createdTime);
         sb.append(dm).append(depth);
+        sb.append(dm).append(description);
         sb.append(dm).append(excludedDocUrls);
         sb.append(dm).append(excludedUrls);
         sb.append(dm).append(includedDocUrls);
@@ -284,6 +291,16 @@ public class BsWebConfig extends EsAbstractEntity {
         this.depth = value;
     }
 
+    public String getDescription() {
+        checkSpecifiedProperty("description");
+        return convertEmptyToNull(description);
+    }
+
+    public void setDescription(String value) {
+        registerModifiedProperty("description");
+        this.description = value;
+    }
+
     public String getExcludedDocUrls() {
         checkSpecifiedProperty("excludedDocUrls");
         return convertEmptyToNull(excludedDocUrls);

+ 9 - 0
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java

@@ -86,6 +86,8 @@ public class DataConfigDbm extends AbstractDBMeta {
                 "createdBy");
         setupEpg(_epgMap, et -> ((DataConfig) et).getCreatedTime(), (et, vl) -> ((DataConfig) et).setCreatedTime(DfTypeUtil.toLong(vl)),
                 "createdTime");
+        setupEpg(_epgMap, et -> ((DataConfig) et).getDescription(), (et, vl) -> ((DataConfig) et).setDescription(DfTypeUtil.toString(vl)),
+                "description");
         setupEpg(_epgMap, et -> ((DataConfig) et).getHandlerName(), (et, vl) -> ((DataConfig) et).setHandlerName(DfTypeUtil.toString(vl)),
                 "handlerName");
         setupEpg(_epgMap, et -> ((DataConfig) et).getHandlerParameter(),
@@ -145,6 +147,8 @@ public class DataConfigDbm extends AbstractDBMeta {
             false, "keyword", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnCreatedTime = cci("createdTime", "createdTime", null, null, Long.class, "createdTime", null, false,
             false, false, "Long", 0, 0, null, false, null, null, null, null, null, false);
+    protected final ColumnInfo _columnDescription = cci("description", "description", null, null, String.class, "description", null, false,
+            false, false, "text", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnHandlerName = cci("handlerName", "handlerName", null, null, String.class, "handlerName", null, false,
             false, false, "keyword", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnHandlerParameter = cci("handlerParameter", "handlerParameter", null, null, String.class,
@@ -178,6 +182,10 @@ public class DataConfigDbm extends AbstractDBMeta {
         return _columnCreatedTime;
     }
 
+    public ColumnInfo columnDescription() {
+        return _columnDescription;
+    }
+
     public ColumnInfo columnHandlerName() {
         return _columnHandlerName;
     }
@@ -216,6 +224,7 @@ public class DataConfigDbm extends AbstractDBMeta {
         ls.add(columnBoost());
         ls.add(columnCreatedBy());
         ls.add(columnCreatedTime());
+        ls.add(columnDescription());
         ls.add(columnHandlerName());
         ls.add(columnHandlerParameter());
         ls.add(columnHandlerScript());

+ 9 - 0
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileConfigDbm.java

@@ -89,6 +89,8 @@ public class FileConfigDbm extends AbstractDBMeta {
         setupEpg(_epgMap, et -> ((FileConfig) et).getCreatedTime(), (et, vl) -> ((FileConfig) et).setCreatedTime(DfTypeUtil.toLong(vl)),
                 "createdTime");
         setupEpg(_epgMap, et -> ((FileConfig) et).getDepth(), (et, vl) -> ((FileConfig) et).setDepth(DfTypeUtil.toInteger(vl)), "depth");
+        setupEpg(_epgMap, et -> ((FileConfig) et).getDescription(), (et, vl) -> ((FileConfig) et).setDescription(DfTypeUtil.toString(vl)),
+                "description");
         setupEpg(_epgMap, et -> ((FileConfig) et).getExcludedDocPaths(),
                 (et, vl) -> ((FileConfig) et).setExcludedDocPaths(DfTypeUtil.toString(vl)), "excludedDocPaths");
         setupEpg(_epgMap, et -> ((FileConfig) et).getExcludedPaths(),
@@ -163,6 +165,8 @@ public class FileConfigDbm extends AbstractDBMeta {
             false, false, "Long", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnDepth = cci("depth", "depth", null, null, Integer.class, "depth", null, false, false, false,
             "Integer", 0, 0, null, false, null, null, null, null, null, false);
+    protected final ColumnInfo _columnDescription = cci("description", "description", null, null, String.class, "description", null, false,
+            false, false, "text", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnExcludedDocPaths = cci("excludedDocPaths", "excludedDocPaths", null, null, String.class,
             "excludedDocPaths", null, false, false, false, "keyword", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnExcludedPaths = cci("excludedPaths", "excludedPaths", null, null, String.class, "excludedPaths",
@@ -216,6 +220,10 @@ public class FileConfigDbm extends AbstractDBMeta {
         return _columnDepth;
     }
 
+    public ColumnInfo columnDescription() {
+        return _columnDescription;
+    }
+
     public ColumnInfo columnExcludedDocPaths() {
         return _columnExcludedDocPaths;
     }
@@ -280,6 +288,7 @@ public class FileConfigDbm extends AbstractDBMeta {
         ls.add(columnCreatedBy());
         ls.add(columnCreatedTime());
         ls.add(columnDepth());
+        ls.add(columnDescription());
         ls.add(columnExcludedDocPaths());
         ls.add(columnExcludedPaths());
         ls.add(columnIncludedDocPaths());

+ 9 - 0
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebConfigDbm.java

@@ -89,6 +89,8 @@ public class WebConfigDbm extends AbstractDBMeta {
         setupEpg(_epgMap, et -> ((WebConfig) et).getCreatedTime(), (et, vl) -> ((WebConfig) et).setCreatedTime(DfTypeUtil.toLong(vl)),
                 "createdTime");
         setupEpg(_epgMap, et -> ((WebConfig) et).getDepth(), (et, vl) -> ((WebConfig) et).setDepth(DfTypeUtil.toInteger(vl)), "depth");
+        setupEpg(_epgMap, et -> ((WebConfig) et).getDescription(), (et, vl) -> ((WebConfig) et).setDescription(DfTypeUtil.toString(vl)),
+                "description");
         setupEpg(_epgMap, et -> ((WebConfig) et).getExcludedDocUrls(),
                 (et, vl) -> ((WebConfig) et).setExcludedDocUrls(DfTypeUtil.toString(vl)), "excludedDocUrls");
         setupEpg(_epgMap, et -> ((WebConfig) et).getExcludedUrls(), (et, vl) -> ((WebConfig) et).setExcludedUrls(DfTypeUtil.toString(vl)),
@@ -165,6 +167,8 @@ public class WebConfigDbm extends AbstractDBMeta {
             false, false, "Long", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnDepth = cci("depth", "depth", null, null, Integer.class, "depth", null, false, false, false,
             "Integer", 0, 0, null, false, null, null, null, null, null, false);
+    protected final ColumnInfo _columnDescription = cci("description", "description", null, null, String.class, "description", null, false,
+            false, false, "text", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnExcludedDocUrls = cci("excludedDocUrls", "excludedDocUrls", null, null, String.class,
             "excludedDocUrls", null, false, false, false, "keyword", 0, 0, null, false, null, null, null, null, null, false);
     protected final ColumnInfo _columnExcludedUrls = cci("excludedUrls", "excludedUrls", null, null, String.class, "excludedUrls", null,
@@ -220,6 +224,10 @@ public class WebConfigDbm extends AbstractDBMeta {
         return _columnDepth;
     }
 
+    public ColumnInfo columnDescription() {
+        return _columnDescription;
+    }
+
     public ColumnInfo columnExcludedDocUrls() {
         return _columnExcludedDocUrls;
     }
@@ -288,6 +296,7 @@ public class WebConfigDbm extends AbstractDBMeta {
         ls.add(columnCreatedBy());
         ls.add(columnCreatedTime());
         ls.add(columnDepth());
+        ls.add(columnDescription());
         ls.add(columnExcludedDocUrls());
         ls.add(columnExcludedUrls());
         ls.add(columnIncludedDocUrls());

+ 4 - 0
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsDataConfigCB.java

@@ -192,6 +192,10 @@ public class BsDataConfigCB extends EsAbstractConditionBean {
             doColumn("createdTime");
         }
 
+        public void columnDescription() {
+            doColumn("description");
+        }
+
         public void columnHandlerName() {
             doColumn("handlerName");
         }

+ 4 - 0
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java

@@ -200,6 +200,10 @@ public class BsFileConfigCB extends EsAbstractConditionBean {
             doColumn("depth");
         }
 
+        public void columnDescription() {
+            doColumn("description");
+        }
+
         public void columnExcludedDocPaths() {
             doColumn("excludedDocPaths");
         }

+ 4 - 0
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsWebConfigCB.java

@@ -200,6 +200,10 @@ public class BsWebConfigCB extends EsAbstractConditionBean {
             doColumn("depth");
         }
 
+        public void columnDescription() {
+            doColumn("description");
+        }
+
         public void columnExcludedDocUrls() {
             doColumn("excludedDocUrls");
         }

+ 55 - 0
src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsDataConfigCA.java

@@ -911,6 +911,61 @@ public abstract class BsDataConfigCA extends EsAbstractConditionAggregation {
         }
     }
 
+    public void setDescription_Count() {
+        setDescription_Count(null);
+    }
+
+    public void setDescription_Count(ConditionOptionCall<ValueCountAggregationBuilder> opLambda) {
+        setDescription_Count("description", opLambda);
+    }
+
+    public void setDescription_Count(String name, ConditionOptionCall<ValueCountAggregationBuilder> opLambda) {
+        ValueCountAggregationBuilder builder = regCountA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Cardinality() {
+        setDescription_Cardinality(null);
+    }
+
+    public void setDescription_Cardinality(ConditionOptionCall<CardinalityAggregationBuilder> opLambda) {
+        setDescription_Cardinality("description", opLambda);
+    }
+
+    public void setDescription_Cardinality(String name, ConditionOptionCall<CardinalityAggregationBuilder> opLambda) {
+        CardinalityAggregationBuilder builder = regCardinalityA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Missing() {
+        setDescription_Missing(null);
+    }
+
+    public void setDescription_Missing(ConditionOptionCall<MissingAggregationBuilder> opLambda) {
+        setDescription_Missing("description", opLambda, null);
+    }
+
+    public void setDescription_Missing(ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
+        setDescription_Missing("description", opLambda, aggsLambda);
+    }
+
+    public void setDescription_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda,
+            OperatorCall<BsDataConfigCA> aggsLambda) {
+        MissingAggregationBuilder builder = regMissingA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+        if (aggsLambda != null) {
+            DataConfigCA ca = new DataConfigCA();
+            aggsLambda.callback(ca);
+            ca.getAggregationBuilderList().forEach(builder::subAggregation);
+        }
+    }
+
     public void setHandlerName_Terms() {
         setHandlerName_Terms(null);
     }

+ 55 - 0
src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsFileConfigCA.java

@@ -1266,6 +1266,61 @@ public abstract class BsFileConfigCA extends EsAbstractConditionAggregation {
         }
     }
 
+    public void setDescription_Count() {
+        setDescription_Count(null);
+    }
+
+    public void setDescription_Count(ConditionOptionCall<ValueCountAggregationBuilder> opLambda) {
+        setDescription_Count("description", opLambda);
+    }
+
+    public void setDescription_Count(String name, ConditionOptionCall<ValueCountAggregationBuilder> opLambda) {
+        ValueCountAggregationBuilder builder = regCountA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Cardinality() {
+        setDescription_Cardinality(null);
+    }
+
+    public void setDescription_Cardinality(ConditionOptionCall<CardinalityAggregationBuilder> opLambda) {
+        setDescription_Cardinality("description", opLambda);
+    }
+
+    public void setDescription_Cardinality(String name, ConditionOptionCall<CardinalityAggregationBuilder> opLambda) {
+        CardinalityAggregationBuilder builder = regCardinalityA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Missing() {
+        setDescription_Missing(null);
+    }
+
+    public void setDescription_Missing(ConditionOptionCall<MissingAggregationBuilder> opLambda) {
+        setDescription_Missing("description", opLambda, null);
+    }
+
+    public void setDescription_Missing(ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
+        setDescription_Missing("description", opLambda, aggsLambda);
+    }
+
+    public void setDescription_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda,
+            OperatorCall<BsFileConfigCA> aggsLambda) {
+        MissingAggregationBuilder builder = regMissingA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+        if (aggsLambda != null) {
+            FileConfigCA ca = new FileConfigCA();
+            aggsLambda.callback(ca);
+            ca.getAggregationBuilderList().forEach(builder::subAggregation);
+        }
+    }
+
     public void setExcludedDocPaths_Terms() {
         setExcludedDocPaths_Terms(null);
     }

+ 55 - 0
src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsWebConfigCA.java

@@ -1266,6 +1266,61 @@ public abstract class BsWebConfigCA extends EsAbstractConditionAggregation {
         }
     }
 
+    public void setDescription_Count() {
+        setDescription_Count(null);
+    }
+
+    public void setDescription_Count(ConditionOptionCall<ValueCountAggregationBuilder> opLambda) {
+        setDescription_Count("description", opLambda);
+    }
+
+    public void setDescription_Count(String name, ConditionOptionCall<ValueCountAggregationBuilder> opLambda) {
+        ValueCountAggregationBuilder builder = regCountA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Cardinality() {
+        setDescription_Cardinality(null);
+    }
+
+    public void setDescription_Cardinality(ConditionOptionCall<CardinalityAggregationBuilder> opLambda) {
+        setDescription_Cardinality("description", opLambda);
+    }
+
+    public void setDescription_Cardinality(String name, ConditionOptionCall<CardinalityAggregationBuilder> opLambda) {
+        CardinalityAggregationBuilder builder = regCardinalityA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Missing() {
+        setDescription_Missing(null);
+    }
+
+    public void setDescription_Missing(ConditionOptionCall<MissingAggregationBuilder> opLambda) {
+        setDescription_Missing("description", opLambda, null);
+    }
+
+    public void setDescription_Missing(ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
+        setDescription_Missing("description", opLambda, aggsLambda);
+    }
+
+    public void setDescription_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda,
+            OperatorCall<BsWebConfigCA> aggsLambda) {
+        MissingAggregationBuilder builder = regMissingA(name, "description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+        if (aggsLambda != null) {
+            WebConfigCA ca = new WebConfigCA();
+            aggsLambda.callback(ca);
+            ca.getAggregationBuilderList().forEach(builder::subAggregation);
+        }
+    }
+
     public void setExcludedDocUrls_Terms() {
         setExcludedDocUrls_Terms(null);
     }

+ 212 - 0
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsDataConfigCQ.java

@@ -942,6 +942,218 @@ public abstract class BsDataConfigCQ extends EsAbstractConditionQuery {
         return this;
     }
 
+    public void setDescription_Equal(String description) {
+        setDescription_Term(description, null);
+    }
+
+    public void setDescription_Equal(String description, ConditionOptionCall<TermQueryBuilder> opLambda) {
+        setDescription_Term(description, opLambda);
+    }
+
+    public void setDescription_Term(String description) {
+        setDescription_Term(description, null);
+    }
+
+    public void setDescription_Term(String description, ConditionOptionCall<TermQueryBuilder> opLambda) {
+        TermQueryBuilder builder = regTermQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_NotEqual(String description) {
+        setDescription_NotTerm(description, null);
+    }
+
+    public void setDescription_NotTerm(String description) {
+        setDescription_NotTerm(description, null);
+    }
+
+    public void setDescription_NotEqual(String description, ConditionOptionCall<BoolQueryBuilder> opLambda) {
+        setDescription_NotTerm(description, opLambda);
+    }
+
+    public void setDescription_NotTerm(String description, ConditionOptionCall<BoolQueryBuilder> opLambda) {
+        not(not -> not.setDescription_Term(description), opLambda);
+    }
+
+    public void setDescription_Terms(Collection<String> descriptionList) {
+        setDescription_Terms(descriptionList, null);
+    }
+
+    public void setDescription_Terms(Collection<String> descriptionList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
+        TermsQueryBuilder builder = regTermsQ("description", descriptionList);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_InScope(Collection<String> descriptionList) {
+        setDescription_Terms(descriptionList, null);
+    }
+
+    public void setDescription_InScope(Collection<String> descriptionList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
+        setDescription_Terms(descriptionList, opLambda);
+    }
+
+    public void setDescription_Match(String description) {
+        setDescription_Match(description, null);
+    }
+
+    public void setDescription_Match(String description, ConditionOptionCall<MatchQueryBuilder> opLambda) {
+        MatchQueryBuilder builder = regMatchQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_MatchPhrase(String description) {
+        setDescription_MatchPhrase(description, null);
+    }
+
+    public void setDescription_MatchPhrase(String description, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
+        MatchPhraseQueryBuilder builder = regMatchPhraseQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_MatchPhrasePrefix(String description) {
+        setDescription_MatchPhrasePrefix(description, null);
+    }
+
+    public void setDescription_MatchPhrasePrefix(String description, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
+        MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Fuzzy(String description) {
+        setDescription_Fuzzy(description, null);
+    }
+
+    public void setDescription_Fuzzy(String description, ConditionOptionCall<MatchQueryBuilder> opLambda) {
+        MatchQueryBuilder builder = regFuzzyQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Prefix(String description) {
+        setDescription_Prefix(description, null);
+    }
+
+    public void setDescription_Prefix(String description, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
+        PrefixQueryBuilder builder = regPrefixQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Wildcard(String description) {
+        setDescription_Wildcard(description, null);
+    }
+
+    public void setDescription_Wildcard(String description, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
+        WildcardQueryBuilder builder = regWildcardQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Regexp(String description) {
+        setDescription_Regexp(description, null);
+    }
+
+    public void setDescription_Regexp(String description, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
+        RegexpQueryBuilder builder = regRegexpQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_SpanTerm(String description) {
+        setDescription_SpanTerm("description", null);
+    }
+
+    public void setDescription_SpanTerm(String description, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
+        SpanTermQueryBuilder builder = regSpanTermQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_GreaterThan(String description) {
+        setDescription_GreaterThan(description, null);
+    }
+
+    public void setDescription_GreaterThan(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_GREATER_THAN, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_LessThan(String description) {
+        setDescription_LessThan(description, null);
+    }
+
+    public void setDescription_LessThan(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_LESS_THAN, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_GreaterEqual(String description) {
+        setDescription_GreaterEqual(description, null);
+    }
+
+    public void setDescription_GreaterEqual(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_GREATER_EQUAL, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_LessEqual(String description) {
+        setDescription_LessEqual(description, null);
+    }
+
+    public void setDescription_LessEqual(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_LESS_EQUAL, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Exists() {
+        setDescription_Exists(null);
+    }
+
+    public void setDescription_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
+        ExistsQueryBuilder builder = regExistsQ("description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_CommonTerms(String description) {
+        setDescription_CommonTerms(description, null);
+    }
+
+    public void setDescription_CommonTerms(String description, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
+        CommonTermsQueryBuilder builder = regCommonTermsQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
     public void setHandlerName_Equal(String handlerName) {
         setHandlerName_Term(handlerName, null);
     }

+ 212 - 0
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java

@@ -1342,6 +1342,218 @@ public abstract class BsFileConfigCQ extends EsAbstractConditionQuery {
         return this;
     }
 
+    public void setDescription_Equal(String description) {
+        setDescription_Term(description, null);
+    }
+
+    public void setDescription_Equal(String description, ConditionOptionCall<TermQueryBuilder> opLambda) {
+        setDescription_Term(description, opLambda);
+    }
+
+    public void setDescription_Term(String description) {
+        setDescription_Term(description, null);
+    }
+
+    public void setDescription_Term(String description, ConditionOptionCall<TermQueryBuilder> opLambda) {
+        TermQueryBuilder builder = regTermQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_NotEqual(String description) {
+        setDescription_NotTerm(description, null);
+    }
+
+    public void setDescription_NotTerm(String description) {
+        setDescription_NotTerm(description, null);
+    }
+
+    public void setDescription_NotEqual(String description, ConditionOptionCall<BoolQueryBuilder> opLambda) {
+        setDescription_NotTerm(description, opLambda);
+    }
+
+    public void setDescription_NotTerm(String description, ConditionOptionCall<BoolQueryBuilder> opLambda) {
+        not(not -> not.setDescription_Term(description), opLambda);
+    }
+
+    public void setDescription_Terms(Collection<String> descriptionList) {
+        setDescription_Terms(descriptionList, null);
+    }
+
+    public void setDescription_Terms(Collection<String> descriptionList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
+        TermsQueryBuilder builder = regTermsQ("description", descriptionList);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_InScope(Collection<String> descriptionList) {
+        setDescription_Terms(descriptionList, null);
+    }
+
+    public void setDescription_InScope(Collection<String> descriptionList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
+        setDescription_Terms(descriptionList, opLambda);
+    }
+
+    public void setDescription_Match(String description) {
+        setDescription_Match(description, null);
+    }
+
+    public void setDescription_Match(String description, ConditionOptionCall<MatchQueryBuilder> opLambda) {
+        MatchQueryBuilder builder = regMatchQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_MatchPhrase(String description) {
+        setDescription_MatchPhrase(description, null);
+    }
+
+    public void setDescription_MatchPhrase(String description, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
+        MatchPhraseQueryBuilder builder = regMatchPhraseQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_MatchPhrasePrefix(String description) {
+        setDescription_MatchPhrasePrefix(description, null);
+    }
+
+    public void setDescription_MatchPhrasePrefix(String description, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
+        MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Fuzzy(String description) {
+        setDescription_Fuzzy(description, null);
+    }
+
+    public void setDescription_Fuzzy(String description, ConditionOptionCall<MatchQueryBuilder> opLambda) {
+        MatchQueryBuilder builder = regFuzzyQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Prefix(String description) {
+        setDescription_Prefix(description, null);
+    }
+
+    public void setDescription_Prefix(String description, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
+        PrefixQueryBuilder builder = regPrefixQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Wildcard(String description) {
+        setDescription_Wildcard(description, null);
+    }
+
+    public void setDescription_Wildcard(String description, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
+        WildcardQueryBuilder builder = regWildcardQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Regexp(String description) {
+        setDescription_Regexp(description, null);
+    }
+
+    public void setDescription_Regexp(String description, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
+        RegexpQueryBuilder builder = regRegexpQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_SpanTerm(String description) {
+        setDescription_SpanTerm("description", null);
+    }
+
+    public void setDescription_SpanTerm(String description, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
+        SpanTermQueryBuilder builder = regSpanTermQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_GreaterThan(String description) {
+        setDescription_GreaterThan(description, null);
+    }
+
+    public void setDescription_GreaterThan(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_GREATER_THAN, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_LessThan(String description) {
+        setDescription_LessThan(description, null);
+    }
+
+    public void setDescription_LessThan(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_LESS_THAN, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_GreaterEqual(String description) {
+        setDescription_GreaterEqual(description, null);
+    }
+
+    public void setDescription_GreaterEqual(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_GREATER_EQUAL, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_LessEqual(String description) {
+        setDescription_LessEqual(description, null);
+    }
+
+    public void setDescription_LessEqual(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_LESS_EQUAL, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Exists() {
+        setDescription_Exists(null);
+    }
+
+    public void setDescription_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
+        ExistsQueryBuilder builder = regExistsQ("description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_CommonTerms(String description) {
+        setDescription_CommonTerms(description, null);
+    }
+
+    public void setDescription_CommonTerms(String description, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
+        CommonTermsQueryBuilder builder = regCommonTermsQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
     public void setExcludedDocPaths_Equal(String excludedDocPaths) {
         setExcludedDocPaths_Term(excludedDocPaths, null);
     }

+ 212 - 0
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsWebConfigCQ.java

@@ -1341,6 +1341,218 @@ public abstract class BsWebConfigCQ extends EsAbstractConditionQuery {
         return this;
     }
 
+    public void setDescription_Equal(String description) {
+        setDescription_Term(description, null);
+    }
+
+    public void setDescription_Equal(String description, ConditionOptionCall<TermQueryBuilder> opLambda) {
+        setDescription_Term(description, opLambda);
+    }
+
+    public void setDescription_Term(String description) {
+        setDescription_Term(description, null);
+    }
+
+    public void setDescription_Term(String description, ConditionOptionCall<TermQueryBuilder> opLambda) {
+        TermQueryBuilder builder = regTermQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_NotEqual(String description) {
+        setDescription_NotTerm(description, null);
+    }
+
+    public void setDescription_NotTerm(String description) {
+        setDescription_NotTerm(description, null);
+    }
+
+    public void setDescription_NotEqual(String description, ConditionOptionCall<BoolQueryBuilder> opLambda) {
+        setDescription_NotTerm(description, opLambda);
+    }
+
+    public void setDescription_NotTerm(String description, ConditionOptionCall<BoolQueryBuilder> opLambda) {
+        not(not -> not.setDescription_Term(description), opLambda);
+    }
+
+    public void setDescription_Terms(Collection<String> descriptionList) {
+        setDescription_Terms(descriptionList, null);
+    }
+
+    public void setDescription_Terms(Collection<String> descriptionList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
+        TermsQueryBuilder builder = regTermsQ("description", descriptionList);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_InScope(Collection<String> descriptionList) {
+        setDescription_Terms(descriptionList, null);
+    }
+
+    public void setDescription_InScope(Collection<String> descriptionList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
+        setDescription_Terms(descriptionList, opLambda);
+    }
+
+    public void setDescription_Match(String description) {
+        setDescription_Match(description, null);
+    }
+
+    public void setDescription_Match(String description, ConditionOptionCall<MatchQueryBuilder> opLambda) {
+        MatchQueryBuilder builder = regMatchQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_MatchPhrase(String description) {
+        setDescription_MatchPhrase(description, null);
+    }
+
+    public void setDescription_MatchPhrase(String description, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
+        MatchPhraseQueryBuilder builder = regMatchPhraseQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_MatchPhrasePrefix(String description) {
+        setDescription_MatchPhrasePrefix(description, null);
+    }
+
+    public void setDescription_MatchPhrasePrefix(String description, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
+        MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Fuzzy(String description) {
+        setDescription_Fuzzy(description, null);
+    }
+
+    public void setDescription_Fuzzy(String description, ConditionOptionCall<MatchQueryBuilder> opLambda) {
+        MatchQueryBuilder builder = regFuzzyQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Prefix(String description) {
+        setDescription_Prefix(description, null);
+    }
+
+    public void setDescription_Prefix(String description, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
+        PrefixQueryBuilder builder = regPrefixQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Wildcard(String description) {
+        setDescription_Wildcard(description, null);
+    }
+
+    public void setDescription_Wildcard(String description, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
+        WildcardQueryBuilder builder = regWildcardQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Regexp(String description) {
+        setDescription_Regexp(description, null);
+    }
+
+    public void setDescription_Regexp(String description, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
+        RegexpQueryBuilder builder = regRegexpQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_SpanTerm(String description) {
+        setDescription_SpanTerm("description", null);
+    }
+
+    public void setDescription_SpanTerm(String description, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
+        SpanTermQueryBuilder builder = regSpanTermQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_GreaterThan(String description) {
+        setDescription_GreaterThan(description, null);
+    }
+
+    public void setDescription_GreaterThan(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_GREATER_THAN, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_LessThan(String description) {
+        setDescription_LessThan(description, null);
+    }
+
+    public void setDescription_LessThan(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_LESS_THAN, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_GreaterEqual(String description) {
+        setDescription_GreaterEqual(description, null);
+    }
+
+    public void setDescription_GreaterEqual(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_GREATER_EQUAL, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_LessEqual(String description) {
+        setDescription_LessEqual(description, null);
+    }
+
+    public void setDescription_LessEqual(String description, ConditionOptionCall<RangeQueryBuilder> opLambda) {
+        final Object _value = description;
+        RangeQueryBuilder builder = regRangeQ("description", ConditionKey.CK_LESS_EQUAL, _value);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_Exists() {
+        setDescription_Exists(null);
+    }
+
+    public void setDescription_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
+        ExistsQueryBuilder builder = regExistsQ("description");
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
+    public void setDescription_CommonTerms(String description) {
+        setDescription_CommonTerms(description, null);
+    }
+
+    public void setDescription_CommonTerms(String description, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
+        CommonTermsQueryBuilder builder = regCommonTermsQ("description", description);
+        if (opLambda != null) {
+            opLambda.callback(builder);
+        }
+    }
+
     public void setExcludedDocUrls_Equal(String excludedDocUrls) {
         setExcludedDocUrls_Term(excludedDocUrls, null);
     }

+ 6 - 12
src/main/resources/fess_indices/.fess_config/access_token.json

@@ -8,34 +8,28 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "token": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "permissions": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "parameter_name" : {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "expiredTime": {
         "type": "long"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 5 - 10
src/main/resources/fess_indices/.fess_config/bad_word.json

@@ -8,27 +8,22 @@
     },
     "properties": {
       "suggestWord": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "targetRole": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "targetLabel": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 4 - 8
src/main/resources/fess_indices/.fess_config/boost_document_rule.json

@@ -8,26 +8,22 @@
     },
     "properties": {
       "urlExpr": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "boostExpr": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 2 - 4
src/main/resources/fess_indices/.fess_config/crawling_info.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "sessionId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "expiredTime": {
         "type": "long"

+ 3 - 6
src/main/resources/fess_indices/.fess_config/crawling_info_param.json

@@ -8,16 +8,13 @@
     },
     "properties": {
       "crawlingInfoId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "key": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "value": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"

+ 10 - 14
src/main/resources/fess_indices/.fess_config/data_config.json

@@ -8,20 +8,16 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "handlerName": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "handlerParameter": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "handlerScript": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "boost": {
         "type": "float"
@@ -30,25 +26,25 @@
         "type": "boolean"
       },
       "permissions": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"
+      },
+      "description" : {
+        "type": "text"
       }
     }
   }

+ 2 - 4
src/main/resources/fess_indices/.fess_config/data_config_to_label.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "dataConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "labelTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 2 - 4
src/main/resources/fess_indices/.fess_config/data_config_to_role.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "dataConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "roleTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 4 - 8
src/main/resources/fess_indices/.fess_config/duplicate_host.json

@@ -8,26 +8,22 @@
     },
     "properties": {
       "regularName": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "duplicateHostName": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 7 - 14
src/main/resources/fess_indices/.fess_config/elevate_word.json

@@ -8,38 +8,31 @@
     },
     "properties": {
       "suggestWord": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "reading": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "targetRole": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "targetLabel": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "permissions": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "boost": {
         "type": "float"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 2 - 4
src/main/resources/fess_indices/.fess_config/elevate_word_to_label.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "elevateWordId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "labelTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 5 - 10
src/main/resources/fess_indices/.fess_config/failure_url.json

@@ -8,20 +8,16 @@
     },
     "properties": {
       "url": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "threadName": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "errorName": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "errorLog": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "errorCount": {
         "type": "integer"
@@ -30,8 +26,7 @@
         "type": "long"
       },
       "configId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 8 - 16
src/main/resources/fess_indices/.fess_config/file_authentication.json

@@ -8,42 +8,34 @@
     },
     "properties": {
       "hostname": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "port": {
         "type": "integer"
       },
       "protocolScheme": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "username": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "password": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "parameters": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "fileConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 13 - 20
src/main/resources/fess_indices/.fess_config/file_config.json

@@ -8,32 +8,25 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "paths": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "includedPaths": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "excludedPaths": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "includedDocPaths": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "excludedDocPaths": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "configParameter": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "depth": {
         "type": "integer"
@@ -57,25 +50,25 @@
         "type": "boolean"
       },
       "permissions": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"
+      },
+      "description" : {
+        "type": "text"
       }
     }
   }

+ 2 - 4
src/main/resources/fess_indices/.fess_config/file_config_to_label.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "fileConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "labelTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 2 - 4
src/main/resources/fess_indices/.fess_config/file_config_to_role.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "fileConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "roleTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 6 - 12
src/main/resources/fess_indices/.fess_config/job_log.json

@@ -8,28 +8,22 @@
     },
     "properties": {
       "jobName": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "jobStatus": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "target": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "scriptType": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "scriptData": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "scriptResult": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "lastUpdated": {
         "type": "long"

+ 4 - 8
src/main/resources/fess_indices/.fess_config/key_match.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "term": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "query": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "maxSize": {
         "type": "integer"
@@ -22,15 +20,13 @@
         "type": "float"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 2 - 4
src/main/resources/fess_indices/.fess_config/label_to_role.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "labelTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "roleTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 7 - 14
src/main/resources/fess_indices/.fess_config/label_type.json

@@ -8,38 +8,31 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "value": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "includedPaths": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "excludedPaths": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "permissions": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 6 - 12
src/main/resources/fess_indices/.fess_config/path_mapping.json

@@ -8,34 +8,28 @@
     },
     "properties": {
       "regex": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "replacement": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "processType": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "userAgent": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 5 - 10
src/main/resources/fess_indices/.fess_config/request_header.json

@@ -8,27 +8,22 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "value": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "webConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 4 - 8
src/main/resources/fess_indices/.fess_config/role_type.json

@@ -8,26 +8,22 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "value": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 8 - 16
src/main/resources/fess_indices/.fess_config/scheduled_job.json

@@ -8,28 +8,22 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "target": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "cronExpression": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "scriptType": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "scriptData": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "crawler": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "jobLogging": {
         "type": "boolean"
@@ -41,15 +35,13 @@
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 5 - 10
src/main/resources/fess_indices/.fess_config/thumbnail_queue.json

@@ -8,27 +8,22 @@
     },
     "properties": {
       "url": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "path": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "generator": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "target": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 9 - 18
src/main/resources/fess_indices/.fess_config/web_authentication.json

@@ -8,46 +8,37 @@
     },
     "properties": {
       "hostname": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "port": {
         "type": "integer"
       },
       "authRealm": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "protocolScheme": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "username": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "password": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "parameters": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "webConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"

+ 14 - 22
src/main/resources/fess_indices/.fess_config/web_config.json

@@ -8,32 +8,25 @@
     },
     "properties": {
       "name": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "urls": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "includedUrls": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "excludedUrls": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "includedDocUrls": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "excludedDocUrls": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "configParameter": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "depth": {
         "type": "integer"
@@ -42,8 +35,7 @@
         "type": "long"
       },
       "userAgent": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "numOfThread": {
         "type": "integer"
@@ -61,25 +53,25 @@
         "type": "boolean"
       },
       "permissions": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "sortOrder": {
         "type": "integer"
       },
       "createdBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "createdTime": {
         "type": "long"
       },
       "updatedBy": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "updatedTime": {
         "type": "long"
+      },
+      "description" : {
+        "type": "text"
       }
     }
   }

+ 2 - 4
src/main/resources/fess_indices/.fess_config/web_config_to_label.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "webConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "labelTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 2 - 4
src/main/resources/fess_indices/.fess_config/web_config_to_role.json

@@ -8,12 +8,10 @@
     },
     "properties": {
       "webConfigId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       },
       "roleTypeId": {
-        "type": "string",
-        "index": "not_analyzed"
+        "type": "keyword"
       }
     }
   }

+ 2 - 2
src/main/resources/fess_indices/fess/doc.json

@@ -448,7 +448,7 @@
         "type": "langstring",
         "lang_field": "lang",
         "lang_base_name": "title",
-        "index": "no"
+        "index": false
       },
       "content": {
         "type": "langstring",
@@ -473,7 +473,7 @@
       },
       "digest": {
         "type": "text",
-        "index": "no"
+        "index": false
       },
       "doc_id": {
         "type": "keyword"

+ 1 - 2
src/main/resources/fess_indices/fess_log/search_log.json

@@ -57,8 +57,7 @@
         "type": "keyword"
       },
       "languages" : {
-        "type" : "string",
-        "index" : "not_analyzed"
+        "type" : "keyword"
       }
     }
   }