Actually, tester is a dedicated percolator index with 5 percolation queries
stored and no other data. Percolated documents are web logs and the tester
mapping is :
{
"tester": {
"mappings": {
".percolator": {
"_id": {
"index": "not_analyzed"
},
"properties": {
"query": {
"type": "object",
"enabled": false
}
}
},
"test_hit": {
"dynamic_templates": [
{
"template1": {
"mapping": {
"type": "integer"
},
"match": "*_id"
}
}
],
"_timestamp": {
"enabled": true,
"path": "date",
"format": "date_time"
},
"_source": {
"excludes": [
"@timestamp"
]
},
"properties": {
"@timestamp": {
"type": "date",
"index": "no",
"format": "dateOptionalTime"
},
"date": {
"type": "date",
"format": "date_time"
},
"geoip": {
"type": "geo_point"
},
"host": {
"type": "string",
"index": "not_analyzed"
},
"ip": {
"type": "ip"
},
"prefered-language": {
"type": "string"
},
"referer": {
"type": "string",
"analyzer": "splitter"
},
"reverse_ip": {
"type": "string"
},
"session_id": {
"type": "string",
"index": "not_analyzed"
},
"ua_build": {
"type": "short"
},
"ua_device": {
"type": "string"
},
"ua_major": {
"type": "short"
},
"ua_minor": {
"type": "short"
},
"ua_name": {
"type": "string"
},
"ua_os": {
"type": "string"
},
"ua_os_major": {
"type": "short"
},
"ua_os_minor": {
"type": "short"
},
"ua_os_name": {
"type": "string"
},
"ua_patch": {
"type": "short"
},
"unique": {
"type": "boolean"
},
"uri": {
"type": "string"
},
"user-agent": {
"type": "string",
"analyzer": "splitter"
},
"valid": {
"type": "boolean"
}
}
}
}
}
}
Le mardi 18 mars 2014 12:41:19 UTC+1, Lee Hinman a écrit :
On 3/17/14, 2:36 AM, Dunaeth wrote:
Hi,
Due to the insert and search query frequency, it's nearly impossible to
get logs from specific queries. That said, logs attached are extracts of
the logs since the cluster restart and are most probably generated
during document inserts.
It looks like you have incredibly small segments for this index
(tester), what does the data look like? Can you share your mappings for
the index as well as example documents?
;; Lee
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/57ed2777-ee88-47ac-8033-fa87234d1a64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.