Skip to content

Commit

Permalink
Fixed search DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Jan 29, 2014
1 parent 0442cd3 commit aeff472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/sksamuel/elastic4s/SearchDsl.scala
Expand Up @@ -90,7 +90,7 @@ trait SearchDsl
}

def filter(block: => FilterDefinition): SearchDefinition = {
_builder.setFilter(block.builder)
_builder.setPostFilter(block.builder)
this
}

Expand Down

0 comments on commit aeff472

Please sign in to comment.