Commit d6fb1ebf authored by 赵威's avatar 赵威

update size

parent 17140e3b
...@@ -58,7 +58,7 @@ object ES { ...@@ -58,7 +58,7 @@ object ES {
// SearchRequest // SearchRequest
def generateDiaryQuery(projects: List[String], secondDemands: List[String], cityId: Int = -1): String = { def generateDiaryQuery(projects: List[String], secondDemands: List[String], cityId: Int = -1): String = {
val size = 10 val size = 2
val includes = List("id", "tags_v3") val includes = List("id", "tags_v3")
// TODO read // TODO read
...@@ -163,7 +163,7 @@ object ES { ...@@ -163,7 +163,7 @@ object ES {
} }
def generateTractateQuery(projects: List[String], secondDemands: List[String]): String = { def generateTractateQuery(projects: List[String], secondDemands: List[String]): String = {
val size = 10 val size = 2
val includes = List("id", "tags_v3") val includes = List("id", "tags_v3")
val functions = new ListBuffer[JObject]() val functions = new ListBuffer[JObject]()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment