public long countQuery ( SearchRequestBuilder countRequestBuilder , long timeoutMillis ) { countRequestBuilder . setSize ( 0 ) ; return searchQuery ( "countQuery" , countRequestBuilder , timeoutMillis ) . getHits ( ) . getTotalHits ( ) ; }
Count query long .