Commit a68a511e authored by 赵威's avatar 赵威

update es

parent d6fb1ebf
...@@ -136,7 +136,7 @@ object ES { ...@@ -136,7 +136,7 @@ object ES {
} }
}, },
"size": ${size}, "size": ${size},
"_source": ${pretty(render(includes))}, "_source": {"include": ${pretty(render(includes))}},
"sort": [ "sort": [
{ {
"_script": { "_script": {
...@@ -217,7 +217,7 @@ object ES { ...@@ -217,7 +217,7 @@ object ES {
} }
}, },
"size": ${size}, "size": ${size},
"_source": ${pretty(render(includes))} "_source": {"include": ${pretty(render(includes))}}
} }
""" """
// println("tractate query:") // println("tractate query:")
......
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