Thanks. I tried to reproduce it on 1.0.0.RC2, but without success.

curl '0:9200/aggsbug/_mapping?pretty'
{
  "aggsbug" : {
    "mappings" : {
      "messages" : {
        "properties" : {
          "a" : {
            "type" : "string",
            "analyzer" : "keyword"
          }
        }
      }
    }
  }
}

Using analyzer "keyword", the "aggregations" is working flawlessly here,
with constant result.

curl  '0:9200/aggsbug/_search?pretty' -d '
{
   "size": 0,
   "aggs": {
      "a": {
         "terms": {
            "field": "a",
            "size": 10
         }
      }
   }
}
'
{
  "took" : 669,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "failed" : 0
  },
  "hits" : {
    "total" : 1060387,
    "max_score" : 0.0,
    "hits" : [ ]
  },
  "aggregations" : {
    "a" : {
      "buckets" : [ {
        "key" : "TotalTrafficBOS",
        "doc_count" : 3599
      }, {
        "key" : "MAI93thm",
        "doc_count" : 2517
      }, {
        "key" : "MAI90thm",
        "doc_count" : 2207
      }, {
        "key" : "MAI95thm",
        "doc_count" : 2207
      }, {
        "key" : "TotalTrafficNYC",
        "doc_count" : 1660
      }, {
        "key" : "incidentreports",
        "doc_count" : 1468
      }, {
        "key" : "NJI80thm",
        "doc_count" : 1180
      }, {
        "key" : "PAI76thm",
        "doc_count" : 1142
      }, {
        "key" : "TXI35thm",
        "doc_count" : 1064
      }, {
        "key" : "NYI87thm",
        "doc_count" : 1029
      } ]
    }
  }
}


Jörg

On Wed, Feb 5, 2014 at 2:17 PM, Nils Dijk <[email protected]> wrote:

> Hi,
>
> I updated the gist now with a file in bulkindex format.
> I also split up the loading from the testing phase, so you can do the test
> multiple times in a row.
> I also added a README.md to instruct how to run the test.
>
> I'm also creating a bug as stated here
> http://www.elasticsearch.org/blog/0-90-11-1-0-0-rc2-released/.
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFRak9JtwQNnEdd%3DPGzJRqiqpCMEJXSAsgZ52OztJiTJw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to