Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed ES client search type to QUERY_THEN_FETCH.

  • Loading branch information...
commit 03c537aefe0db7841dc2f41b1c37b8c35b0944ba 1 parent 445ed39
@adamalix adamalix authored holdenk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/scala/com/foursquare/slashem/Schema.scala
View
2  src/main/scala/com/foursquare/slashem/Schema.scala
@@ -476,7 +476,7 @@ trait ElasticSchema[M <: Record[M]] extends SlashemSchema[M] {
.setQuery(query)
.setFrom(from)
.setSize(limit)
- .setSearchType(SearchType.DFS_QUERY_THEN_FETCH)
+ .setSearchType(SearchType.QUERY_THEN_FETCH)
val request = qb.sort match {
case None => baseRequest
//Handle sorting by fields quickly
Please sign in to comment.
Something went wrong with that request. Please try again.