when i run this query, i correctly get only the NUM_OF_WKS field back
{"filter":{"exists":{"field":"NUM_OF_WKS"}}, "fields" : ["NUM_OF_WKS"],"facets" :
{"Number_of_Weeks_Facet":{"terms":{"field":"NUM_OF_WKS","size":"1"} }}}
but when i run the same query thru a java search, i get NULL for that field
final SearchResponse response = client
.search(new SearchRequest("scnprobldir3a")
.types("dimItem")
.source("{"filter":{"exists":{"field":"NUM_OF_WKS"}}, * "fields"
: ["NUM_OF_WKS"],* "facets" :
{"Number_of_Weeks_Facet":{"terms":{"field":"NUM_OF_WKS","size":"100"}
}}}"))
.actionGet();
Can anyone help???
--
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.
For more options, visit https://groups.google.com/groups/opt_out.