Here are my findings: The assertion error is
Caused by: java.lang.AssertionError at org.elasticsearch.common.recycler.ThreadLocalRecycler$TV.release(ThreadLocalRecycler.java:84) at org.elasticsearch.search.facet.terms.longs.TermsLongFacetExecutor.buildFacet(TermsLongFacetExecutor.java:104) at org.elasticsearch.search.facet.FacetPhase.execute(FacetPhase.java:200) at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:129) at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:357) It works in ES <= 0.90.3 but not in ES > 0.90.3 (also not in ES 1.0.0+) and is specific to the combination of faceting with long values and DFS search type. Number of shards does not matter. mvn --version Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 04:15:32+0200) Maven home: /usr/share/maven Java version: 1.6.0_65, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: de_DE, platform encoding: MacRoman OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac" Jörg -- 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/CAKdsXoFWjJiL%2BM%3DsSEOX2gOvepiJe164y0pzKQb-x4UUSqpM-g%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.