Comments (9)
Just merged in commit that might help with this. It includes a new store configuration parameter, search_indices. The original parameter, index_name, defines the specific index used to read the type, and the new parameter, search_indices, is used for reading features.
from elasticgeo.
nice... I'll give it a try thanks!
from elasticgeo.
I was able to build and deploy to GeoServer, and i input my search indexes no problem to create a store. I also created a layer and published it, but i cannot preview via GeoServer's "preview layer" tool in Openlayers. Not sure if it matters, but my index is of mixed geometry types (geo_shape)
from elasticgeo.
Was it working before? Any error messages in the logs?
from elasticgeo.
Are you able to see data when you click GML on the Layer Preview page? If so, try copying the OpenLayers link into another tab and then add "&maxFeatures=1000" to the end.
from elasticgeo.
this is what I got...
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
from elasticgeo.
that was for the GML output
from elasticgeo.
I just pushed an update that adds more logging around the search. To get this in your logs, you'll have to increase the logging level to FINE. If using Tomcat, edit TOMCAT_ROOT/conf/logging.properties and add the below line.
mil.nga.giat.level=FINE
Then try hitting GML again. This should show you the request being executed (see example below) and the error stack trace.
May 01, 2015 4:35:28 PM mil.nga.giat.data.elasticsearch.ElasticFeatureSource prepareSearchRequest
FINE: {
"from" : 0,
"size" : 50,
"query" : {
"match_all" : { }
},
"post_filter" : {
"match_all" : { }
},
"_source" : {
"includes" : [ "_id", "_index", "_type", "_score", "_relative_score", "status_s", "id", "security_ss", "standard_ss", "speed_is", "geo3", "modem_b", "installed_tdt", "vendor_s" ],
"excludes" : [ ]
},
"sort" : [ {
"_uid" : {
"order" : "asc"
}
} ]
}
from elasticgeo.
I'll try to get back to this next week, so far so good. But as I look at the code, and the fact that I have mixed geometry types, I am tinkering with the idea of being able to register an actual query as a datasource definition, rather than an index or index alias. Kind of like a "view" in a traditional database.
from elasticgeo.
Related Issues (20)
- missing username and password input HOT 2
- Cannot restart Geoserver after installation on Windows Server 2018 HOT 2
- Cannot connect to store (Bonsai - Hosted Elasticsearch) HOT 13
- Support for ElasticSearch 7.0 HOT 1
- NPE on basic usage HOT 4
- [Question] Native query using terms filter HOT 4
- Can elasticgeo support sliced scroll-scan? HOT 4
- Ignoring Attribute Configuration
- Map tile failing when processing multiple simultaneous WMS requests
- sort the layer result from elasticsearch HOT 1
- WFS FeatureID query values HOT 2
- GS 2.19 Clean install view layers issue
- Intermittent error that requires us to restart Geoserver HOT 1
- Point Cluster
- Geohash aggregation when there's no buckets
- Opensearch support 2.X HOT 1
- Highlighting Support
- Unable to retrieve Elastic data by using GeoServer CQL Filters HOT 1
- geojson is being rounded HOT 4
- Elastic search aggregations through view params not working HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticgeo.