diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2016-02-03 22:37:15 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2016-02-03 22:37:15 +0100 |
| commit | f156497be5637d7815ae57370e8b175ce6960a19 (patch) | |
| tree | 6363a52913e006e90b223f17f6aa39206f153ffd /data/elasticsearch-mapping.json | |
| parent | 915b66fe6ca517610a41acec0a71597e7cee0807 (diff) | |
| download | phinde-f156497be5637d7815ae57370e8b175ce6960a19.tar.gz phinde-f156497be5637d7815ae57370e8b175ce6960a19.zip | |
fix indexing, boost config
Diffstat (limited to 'data/elasticsearch-mapping.json')
| -rw-r--r-- | data/elasticsearch-mapping.json | 47 |
1 files changed, 45 insertions, 2 deletions
diff --git a/data/elasticsearch-mapping.json b/data/elasticsearch-mapping.json index ec9bcc9..d1e83ec 100644 --- a/data/elasticsearch-mapping.json +++ b/data/elasticsearch-mapping.json @@ -20,11 +20,18 @@ }, "url": { "type": "string", - "index": "not_analyzed" + "index": "not_analyzed", + "boost": 1.5 + }, + "schemalessUrl": { + "type": "string", + "index": "not_analyzed", + "boost": 1.5 }, "domain": { "type": "string", - "index": "not_analyzed" + "index": "not_analyzed", + "boost": 1.8 }, "source": { "type": "string", @@ -33,6 +40,42 @@ "language": { "type": "string", "index": "not_analyzed" + }, + "title": { + "type": "string", + "boost": 2 + }, + "h1": { + "type": "string", + "boost": 1.8 + }, + "h2": { + "type": "string", + "boost": 1.7 + }, + "h3": { + "type": "string", + "boost": 1.6 + }, + "h4": { + "type": "string", + "boost": 1.5 + }, + "h5": { + "type": "string", + "boost": 1.4 + }, + "h6": { + "type": "string", + "boost": 1.3 + }, + "text": { + "type": "string", + "boost": 1.0 + }, + "tags": { + "type": "string", + "boost": 1.5 } } } |
