ngageoint / elasticgeo

ElasticGeo provides a GeoTools data store that allows geospatial features from an Elasticsearch index to be published via OGC services using GeoServer.
GNU General Public License v3.0
169 stars 86 forks source link

wfs query error #81

Closed lzp0070007 closed 6 years ago

lzp0070007 commented 6 years ago

http://localhost:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature%20&typeName=lzp:tms-geotest-lzp-list

error:java.lang.RuntimeException: java.io.IOException: Error executing query search java.lang.RuntimeException: java.io.IOException: Error executing query search java.io.IOException: Error executing query search Error executing query search method [POST], host [http://192.168.177.142:9200], URI [/tms-geotest-lzp/tms-geotest-lzp-list/_search], status line [HTTP/1.1 500 Internal Server Error] {"error":{"root_cause":[{"type":"query_phase_execution_exception","reason":"Result window is too large, from + size must be less than or equal to: [10000] but was [1000000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"tms-geotest-lzp","node":"KckXfJnUQbSTcEQTq-wxMw","reason":{"type":"query_phase_execution_exception","reason":"Result window is too large, from + size must be less than or equal to: [10000] but was [1000000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting."}}]},"status":500}