Skip to content

Terms query is broken #80

@clintongormley

Description

@clintongormley

Hiya

Commit 93e0253 breaks the terms query:

curl -XPUT 'http://127.0.0.2:9200/es_test_1/'
curl -XPUT 'http://127.0.0.2:9200/_all/type_1/_mapping?ignoreConflicts=true'  -d '
{
   "properties" : {
      "num" : {
         "store" : "yes",
         "type" : "integer"
      },
      "text" : {
         "store" : "yes",
         "type" : "string"
      }
   }
}
'


curl -XGET 'http://127.0.0.2:9200/_cluster/health?timeout=2s&waitForStatus=yellow' 


curl -XPUT 'http://127.0.0.2:9200/es_test_1/type_1/1'  -d '
{
   "num" : 2,
   "text" : "foo"
}
'

curl -XGET 'http://127.0.0.2:9200/_terms?fields=num&toInclusive=true' 
# {"error":null}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions