This commit is contained in:
Shunji Makino 2015-07-01 10:29:30 +09:00
commit 2db5f25809
32 changed files with 1356 additions and 2 deletions

View file

@ -11,6 +11,36 @@
</initMethod>
<initMethod name="addIndexConfig">
<arg>".fess_config/boost_document_rule"</arg>
<arg>".fess_config/click_log"</arg>
<arg>".fess_config/crawling_session"</arg>
<arg>".fess_config/crawling_session_info"</arg>
<arg>".fess_config/data_config"</arg>
<arg>".fess_config/data_config_to_label"</arg>
<arg>".fess_config/data_config_to_role"</arg>
<arg>".fess_config/failure_url"</arg>
<arg>".fess_config/favorite_log"</arg>
<arg>".fess_config/file_authentication"</arg>
<arg>".fess_config/file_config"</arg>
<arg>".fess_config/file_config_to_label"</arg>
<arg>".fess_config/file_config_to_role"</arg>
<arg>".fess_config/job_log"</arg>
<arg>".fess_config/key_match"</arg>
<arg>".fess_config/label_to_role"</arg>
<arg>".fess_config/label_type"</arg>
<arg>".fess_config/overlapping_host"</arg>
<arg>".fess_config/path_mapping"</arg>
<arg>".fess_config/request_header"</arg>
<arg>".fess_config/role_type"</arg>
<arg>".fess_config/scheduled_job"</arg>
<arg>".fess_config/search_field_log"</arg>
<arg>".fess_config/search_log"</arg>
<arg>".fess_config/suggest_bad_word"</arg>
<arg>".fess_config/suggest_elevate_word"</arg>
<arg>".fess_config/user_info"</arg>
<arg>".fess_config/web_authentication"</arg>
<arg>".fess_config/web_config"</arg>
<arg>".fess_config/web_config_to_label"</arg>
<arg>".fess_config/web_config_to_role"</arg>
</initMethod>
</component>
</components>

View file

@ -6,8 +6,8 @@
"_all": {
"enabled": false
},
"_id" : {
"path" : "id"
"_id": {
"path": "id"
},
"properties": {
"id": {

View file

@ -0,0 +1,30 @@
{
"click_log": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"searchLogId": {
"type": "string",
"index": "not_analyzed"
},
"url": {
"type": "string",
"index": "not_analyzed"
},
"requestedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,33 @@
{
"crawling_session": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"sessionId": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"expiredTime": {
"type": "long"
},
"createdTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,34 @@
{
"crawling_session_info": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"crawlingSessionId": {
"type": "string",
"index": "not_analyzed"
},
"key": {
"type": "string",
"index": "not_analyzed"
},
"value": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,58 @@
{
"data_config": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"handlerName": {
"type": "string",
"index": "not_analyzed"
},
"handlerParameter": {
"type": "string",
"index": "not_analyzed"
},
"handlerScript": {
"type": "string",
"index": "not_analyzed"
},
"boost": {
"type": "float"
},
"available": {
"type": "boolean"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,27 @@
{
"data_config_to_label": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"dataConfigId": {
"type": "string",
"index": "not_analyzed"
},
"labelTypeId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,27 @@
{
"data_config_to_role": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"dataConfigId": {
"type": "string",
"index": "not_analyzed"
},
"roleTypeId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,45 @@
{
"failure_url": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"url": {
"type": "string",
"index": "not_analyzed"
},
"threadName": {
"type": "string",
"index": "not_analyzed"
},
"errorName": {
"type": "string",
"index": "not_analyzed"
},
"errorLog": {
"type": "string",
"index": "not_analyzed"
},
"errorCount": {
"type": "integer"
},
"lastAccessTime": {
"type": "long"
},
"configId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,30 @@
{
"favorite_log": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"userInfoId": {
"type": "string",
"index": "not_analyzed"
},
"url": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,60 @@
{
"file_authentication": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"hostname": {
"type": "string",
"index": "not_analyzed"
},
"port": {
"type": "integer"
},
"protocolScheme": {
"type": "string",
"index": "not_analyzed"
},
"username": {
"type": "string",
"index": "not_analyzed"
},
"password": {
"type": "string",
"index": "not_analyzed"
},
"parameters": {
"type": "string",
"index": "not_analyzed"
},
"fileConfigId": {
"type": "string",
"index": "not_analyzed"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,82 @@
{
"file_config": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"paths": {
"type": "string",
"index": "not_analyzed"
},
"includedPaths": {
"type": "string",
"index": "not_analyzed"
},
"excludedPaths": {
"type": "string",
"index": "not_analyzed"
},
"includedDocPaths": {
"type": "string",
"index": "not_analyzed"
},
"excludedDocPaths": {
"type": "string",
"index": "not_analyzed"
},
"configParameter": {
"type": "string",
"index": "not_analyzed"
},
"depth": {
"type": "integer"
},
"maxAccessCount": {
"type": "long"
},
"numOfThread": {
"type": "integer"
},
"intervalTime": {
"type": "integer"
},
"boost": {
"type": "float"
},
"available": {
"type": "boolean"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,27 @@
{
"file_config_to_label": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"fileConfigId": {
"type": "string",
"index": "not_analyzed"
},
"labelTypeId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,27 @@
{
"file_config_to_role": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"fileConfigId": {
"type": "string",
"index": "not_analyzed"
},
"roleTypeId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,49 @@
{
"job_log": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"jobName": {
"type": "string",
"index": "not_analyzed"
},
"jobStatus": {
"type": "string",
"index": "not_analyzed"
},
"target": {
"type": "string",
"index": "not_analyzed"
},
"scriptType": {
"type": "string",
"index": "not_analyzed"
},
"scriptData": {
"type": "string",
"index": "not_analyzed"
},
"scriptResult": {
"type": "string",
"index": "not_analyzed"
},
"startTime": {
"type": "long"
},
"endTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,47 @@
{
"key_match": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"term": {
"type": "string",
"index": "not_analyzed"
},
"query": {
"type": "string",
"index": "not_analyzed"
},
"maxSize": {
"type": "integer"
},
"boost": {
"type": "float"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,27 @@
{
"label_to_role": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"labelTypeId": {
"type": "string",
"index": "not_analyzed"
},
"roleTypeId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,52 @@
{
"label_type": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"value": {
"type": "string",
"index": "not_analyzed"
},
"includedPaths": {
"type": "string",
"index": "not_analyzed"
},
"excludedPaths": {
"type": "string",
"index": "not_analyzed"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,44 @@
{
"overlapping_host": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"regularName": {
"type": "string",
"index": "not_analyzed"
},
"overlappingName": {
"type": "string",
"index": "not_analyzed"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,48 @@
{
"path_mapping": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"regex": {
"type": "string",
"index": "not_analyzed"
},
"replacement": {
"type": "string",
"index": "not_analyzed"
},
"processType": {
"type": "string",
"index": "not_analyzed"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,45 @@
{
"request_header": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"value": {
"type": "string",
"index": "not_analyzed"
},
"webConfigId": {
"type": "string",
"index": "not_analyzed"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,44 @@
{
"role_type": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"value": {
"type": "string",
"index": "not_analyzed"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,66 @@
{
"scheduled_job": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"target": {
"type": "string",
"index": "not_analyzed"
},
"cronExpression": {
"type": "string",
"index": "not_analyzed"
},
"scriptType": {
"type": "string",
"index": "not_analyzed"
},
"scriptData": {
"type": "string",
"index": "not_analyzed"
},
"crawler": {
"type": "string",
"index": "not_analyzed"
},
"jobLogging": {
"type": "boolean"
},
"available": {
"type": "boolean"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,31 @@
{
"search_field_log": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"searchLogId": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"value": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,61 @@
{
"search_log": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"searchWord": {
"type": "string",
"index": "not_analyzed"
},
"requestedTime": {
"type": "long"
},
"responseTime": {
"type": "integer"
},
"hitCount": {
"type": "long"
},
"queryOffset": {
"type": "integer"
},
"queryPageSize": {
"type": "integer"
},
"userAgent": {
"type": "string",
"index": "not_analyzed"
},
"referer": {
"type": "string",
"index": "not_analyzed"
},
"clientIp": {
"type": "string",
"index": "not_analyzed"
},
"userSessionId": {
"type": "string",
"index": "not_analyzed"
},
"accessType": {
"type": "string",
"index": "not_analyzed"
},
"userId": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,45 @@
{
"suggest_bad_word": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"suggestWord": {
"type": "string",
"index": "not_analyzed"
},
"targetRole": {
"type": "string",
"index": "not_analyzed"
},
"targetLabel": {
"type": "string",
"index": "not_analyzed"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,52 @@
{
"suggest_elevate_word": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"suggestWord": {
"type": "string",
"index": "not_analyzed"
},
"reading": {
"type": "string",
"index": "not_analyzed"
},
"targetRole": {
"type": "string",
"index": "not_analyzed"
},
"targetLabel": {
"type": "string",
"index": "not_analyzed"
},
"boost": {
"type": "float"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,29 @@
{
"user_info": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"code": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,64 @@
{
"web_authentication": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"hostname": {
"type": "string",
"index": "not_analyzed"
},
"port": {
"type": "integer"
},
"authRealm": {
"type": "string",
"index": "not_analyzed"
},
"protocolScheme": {
"type": "string",
"index": "not_analyzed"
},
"username": {
"type": "string",
"index": "not_analyzed"
},
"password": {
"type": "string",
"index": "not_analyzed"
},
"parameters": {
"type": "string",
"index": "not_analyzed"
},
"webConfigId": {
"type": "string",
"index": "not_analyzed"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,86 @@
{
"web_config": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"name": {
"type": "string",
"index": "not_analyzed"
},
"urls": {
"type": "string",
"index": "not_analyzed"
},
"includedUrls": {
"type": "string",
"index": "not_analyzed"
},
"excludedUrls": {
"type": "string",
"index": "not_analyzed"
},
"includedDocUrls": {
"type": "string",
"index": "not_analyzed"
},
"excludedDocUrls": {
"type": "string",
"index": "not_analyzed"
},
"configParameter": {
"type": "string",
"index": "not_analyzed"
},
"depth": {
"type": "integer"
},
"maxAccessCount": {
"type": "long"
},
"userAgent": {
"type": "string",
"index": "not_analyzed"
},
"numOfThread": {
"type": "integer"
},
"intervalTime": {
"type": "integer"
},
"boost": {
"type": "float"
},
"available": {
"type": "boolean"
},
"sortOrder": {
"type": "integer"
},
"createdBy": {
"type": "string",
"index": "not_analyzed"
},
"createdTime": {
"type": "long"
},
"updatedBy": {
"type": "string",
"index": "not_analyzed"
},
"updatedTime": {
"type": "long"
}
}
}
}

View file

@ -0,0 +1,27 @@
{
"web_config_to_label": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"webConfigId": {
"type": "string",
"index": "not_analyzed"
},
"labelTypeId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

View file

@ -0,0 +1,27 @@
{
"web_config_to_role": {
"_source": {
"enabled": true
},
"_all": {
"enabled": false
},
"_id": {
"path": "id"
},
"properties": {
"id": {
"type": "string",
"index": "not_analyzed"
},
"webConfigId": {
"type": "string",
"index": "not_analyzed"
},
"roleTypeId": {
"type": "string",
"index": "not_analyzed"
}
}
}
}