{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/10080","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10080/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10080/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10080/events","html_url":"https://github.com/elastic/elasticsearch/issues/10080","id":61117729,"number":10080,"title":"Indices statistics reports -1 memory usage for percolator of index","user":{"login":"hydrogen18","id":130230,"avatar_url":"https://avatars.githubusercontent.com/u/130230?v=3","gravatar_id":"","url":"https://api.github.com/users/hydrogen18","html_url":"https://github.com/hydrogen18","followers_url":"https://api.github.com/users/hydrogen18/followers","following_url":"https://api.github.com/users/hydrogen18/following{/other_user}","gists_url":"https://api.github.com/users/hydrogen18/gists{/gist_id}","starred_url":"https://api.github.com/users/hydrogen18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydrogen18/subscriptions","organizations_url":"https://api.github.com/users/hydrogen18/orgs","repos_url":"https://api.github.com/users/hydrogen18/repos","events_url":"https://api.github.com/users/hydrogen18/events{/privacy}","received_events_url":"https://api.github.com/users/hydrogen18/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Percolator","name":":Percolator","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/discuss","name":"discuss","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-13T16:11:14Z","updated_at":"2015-04-23T12:07:20Z","closed_at":null,"body":"I am trying to gauge how much memory is used by the percolator on an index. I noticed that the statistics report for each index a 'percolate' value. I am using the `elasticsearch-ruby` client to query the Elasticsearch cluster.\r\n\r\n```\r\n[18] pry(main)> client.indices.stats['indices']['posts_20150311084808']['total']['percolate']\r\n=> {\"total\"=>15,\r\n \"time_in_millis\"=>282,\r\n \"current\"=>0,\r\n \"memory_size_in_bytes\"=>-1,\r\n \"memory_size\"=>\"-1b\",\r\n \"queries\"=>15178}\r\n[19] pry(main)> client.indices.stats['indices']['posts_20150311084808']['primaries']['percolate']\r\n=> {\"total\"=>15,\r\n \"time_in_millis\"=>282,\r\n \"current\"=>0,\r\n \"memory_size_in_bytes\"=>-1,\r\n \"memory_size\"=>\"-1b\",\r\n \"queries\"=>15178}\r\n[20] pry(main)> \r\n```\r\n\r\nAs you can see I get back `-1`  as the size. I have ~15000 queries so I would expect this to be non-zero. Is this just not implemented, or does it have a special meaning?\r\n\r\nHere is what aptitude has to say about the Elasticsearch version I am running \r\n\r\n```\r\n aptitude show elasticsearch\r\nPackage: elasticsearch                   \r\nNew: yes\r\nState: installed\r\nAutomatically installed: no\r\nVersion: 1.4.2\r\nPriority: optional\r\nSection: web\r\nMaintainer: Elasticsearch Team <info@elasticsearch.com>\r\nArchitecture: all\r\nUncompressed Size: 30.2 M\r\nDepends: libc6, adduser\r\nDescription: Open Source, Distributed, RESTful Search Engine\r\n Elasticsearch is a distributed RESTful search engine built for the cloud. \r\n \r\n Features include: \r\n \r\n + Distributed and Highly Available Search Engine. \r\n * Each index is fully sharded with a configurable number of shards. \r\n * Each shard can have one or more replicas. \r\n * Read / Search operations performed on either one of the replica shard. \r\n + Multi Tenant with Multi Types. \r\n * Support for more than one index. \r\n * Support for more than one type per index. \r\n * Index level configuration (number of shards, index storage, ...). \r\n + Various set of APIs \r\n * HTTP RESTful API \r\n * Native Java API. \r\n * All APIs perform automatic node operation rerouting. \r\n + Document oriented \r\n * No need for upfront schema definition. \r\n * Schema can be defined per type for customization of the indexing process. \r\n + Reliable, Asynchronous Write Behind for long term persistency. + (Near) Real Time Search. + Built on top of Lucene \r\n * Each shard is a fully functional Lucene index \r\n * All the power of Lucene easily exposed through simple configuration/plugins. \r\n + Per operation consistency \r\n * Single document level operations are atomic, consistent, isolated and durable. \r\n + Open Source under the Apache License, version 2 (\"ALv2\").\r\nHomepage: http://www.elasticsearch.org/\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/95561428","html_url":"https://github.com/elastic/elasticsearch/issues/10080#issuecomment-95561428","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10080","id":95561428,"user":{"login":"hydrogen18","id":130230,"avatar_url":"https://avatars.githubusercontent.com/u/130230?v=3","gravatar_id":"","url":"https://api.github.com/users/hydrogen18","html_url":"https://github.com/hydrogen18","followers_url":"https://api.github.com/users/hydrogen18/followers","following_url":"https://api.github.com/users/hydrogen18/following{/other_user}","gists_url":"https://api.github.com/users/hydrogen18/gists{/gist_id}","starred_url":"https://api.github.com/users/hydrogen18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydrogen18/subscriptions","organizations_url":"https://api.github.com/users/hydrogen18/orgs","repos_url":"https://api.github.com/users/hydrogen18/repos","events_url":"https://api.github.com/users/hydrogen18/events{/privacy}","received_events_url":"https://api.github.com/users/hydrogen18/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T12:07:20Z","updated_at":"2015-04-23T12:07:20Z","body":"So, it seems that this statistic is not useful in the 1.4.x versions?"}}