Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
Fix ES JSON mapping (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasi35 authored and octonato committed Apr 9, 2018
1 parent 3d3e021 commit b0a8b1b
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ case class BooleanQuery(must_not: Filter, must: Seq[Filter])

case class Query(bool: BooleanQuery)

case class QueryRoot(pageNumber: Int,
pageSize: Int,
case class QueryRoot(from: Int,
size: Int,
query: Query,
sort: Seq[SortField] = Seq(Sorters.auctionEndDescending(), Sorters.priceAscending())
)
) {
val pageNumber: Int = from
val pageSize: Int = size
}


object BooleanQuery {
Expand Down

0 comments on commit b0a8b1b

Please sign in to comment.