Skip to content

Commit

Permalink
fix(elasticsearch): Set the size to a number that's large enough
Browse files Browse the repository at this point in the history
  • Loading branch information
brasseld committed Apr 6, 2018
1 parent 3e253b3 commit a81f457
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Expand Up @@ -50,7 +50,7 @@
"by_${query.field()}": {
"terms":{
"field":"${query.field()}",
"size":20
"size": 1000
<#if query.sort()?has_content>
,"order":{
"${query.sort().getType().name()?lower_case}_${query.sort().getField()}":"${query.sort().getOrder()?lower_case}"
Expand Down
Expand Up @@ -16,7 +16,7 @@
"terms" : {
"terms" : {
"field" : "${query.field()?lower_case}",
"size" : 10,
"size" : 100,
"order" : [
{
"_count" : "desc"
Expand Down Expand Up @@ -58,7 +58,7 @@
"results" : {
"terms" : {
"field" : "available",
"size" : 10,
"size" : 2,
"order" : [
{
"_count" : "desc"
Expand Down
Expand Up @@ -46,7 +46,8 @@
<#case "FIELD">
"by_${aggregation.field()}": {
"terms": {
"field": "${aggregation.field()}"
"field": "${aggregation.field()}",
"size": 100
}
}
<#break>
Expand Down
Expand Up @@ -61,7 +61,7 @@
"_term": "asc"
}
],
"size": 10
"size": 100
}
}
}
Expand Down

0 comments on commit a81f457

Please sign in to comment.