Kind of a strange situation.

I've tried 1.0.3, 1.1.2, and 1.2.1, all have the same problem (upgraded 
from .90.13)

My query is simple, looks like this:

{
  "filtered" : {
    "query" : {
      "match_all" : { }
    },
    "filter" : {
      "and" : {
        "filters" : [ {
          "terms" : {
            "tags" : [ "blah" ]
          }
        } ]
      }
    }
  }

CountRequestBuilder builder = client.prepareCount(indexName)
.setTypes("product")
.setQuery(getQuery(req));

return builder.get().getCount();

I get a count of 0 with the Java API.  If I take that request and hit the 
server with curl I get the real count.

Any help would be appreciated.


-Matt

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/706501e2-0413-49be-a7b3-7a1795dfdd69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to