diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2016-11-07 21:41:36 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2016-11-07 21:41:36 +0100 |
| commit | d7651fd96dcfa2829519504e4c8ec1ce511cd57f (patch) | |
| tree | e24d7a9f90060b0fee5a652de43bd0627f1c5bde /data/elasticsearch-mapping.json | |
| parent | f90790c6b2a54c9b1c8a0aeaf1f23e6aa67d7aca (diff) | |
| download | phinde-d7651fd96dcfa2829519504e4c8ec1ce511cd57f.tar.gz phinde-d7651fd96dcfa2829519504e4c8ec1ce511cd57f.zip | |
Big patch merging crawling+indexing into one command, new json document structure
Diffstat (limited to 'data/elasticsearch-mapping.json')
| -rw-r--r-- | data/elasticsearch-mapping.json | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/data/elasticsearch-mapping.json b/data/elasticsearch-mapping.json index 617c69f..aad27d2 100644 --- a/data/elasticsearch-mapping.json +++ b/data/elasticsearch-mapping.json @@ -3,8 +3,27 @@ "document": { "properties": { "status": { - "type": "string", - "index": "not_analyzed" + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "location": { + "type": "string" + }, + "processed": { + "type": "date" + }, + "crdate": { + "type": "date" + }, + "modate": { + "type": "date" + }, + "findable": { + "type": "boolean" + } + } }, "type": { "type": "string", @@ -76,12 +95,6 @@ "tags": { "type": "string", "boost": 1.5 - }, - "crdate": { - "type": "date" - }, - "modate": { - "type": "date" } } } |
