Skip to content

Commit

Permalink
Use only a single type for percolator
Browse files Browse the repository at this point in the history
Closes elastic#26
  • Loading branch information
danielmitterdorfer committed Apr 27, 2017
1 parent 1c3b5c3 commit fa8268b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 19 deletions.
12 changes: 0 additions & 12 deletions percolator/document-mapping.json

This file was deleted.

6 changes: 5 additions & 1 deletion percolator/queries-mapping.json → percolator/mapping.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"percolator": {
"content": {
"dynamic": "strict",
"properties": {
"body": {
"type" : "text",
"analyzer" : "english"
},
"query": {
"type": "percolator"
}
Expand Down
8 changes: 2 additions & 6 deletions percolator/track.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@
"name": "queries",
"types": [
{
"name": "percolator",
"mapping": "queries-mapping.json",
"name": "content",
"mapping": "mapping.json",
"documents": "queries-2.json.bz2",
"document-count": 2000000,
"compressed-bytes": 105192,
"uncompressed-bytes": 110039748
},
{
"name": "content",
"mapping": "document-mapping.json"
}
]
}
Expand Down

0 comments on commit fa8268b

Please sign in to comment.