|
Caleb Mayer created an issue |
SOLR store not properly handling default geometry for WFS request. |
Issue Type: |
|
---|---|
Assignee: |
|
Created: |
26/Feb/15 3:47 PM |
Environment: |
GeoServer 2.7-RC1 (Running on Centos 7, tomcat 7.0.42, java version “1.7.0_75”) |
Priority: |
|
Reporter: |
Iâm having some trouble getting WFS to work with the Solr plugin for GeoServer. I have several polygons stored in Solr, and Iâm able to load them onto a map using WMS just fine. However, when I try to use WFS, I get a syntax error from Solr. It seems like there is something wrong with the query that GeoServer is passing to Solr. Here is the WFS request Iâm using: And here is the error Iâm getting from Solr: ERROR - 2015-02-26 14:30:09.373; org.apache.solr.common.SolrException; org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse ‘layer_type:myLayerType AND :“Intersects(POLYGON ((-76.43702828511596 0, -76.43702828511596 76.43702828517625, 0.0000000000602967 76.43702828517625, 0.0000000000602967 0, -76.43702828511596 0)))”’: Encountered " “:” ": “” at line 1, column 35. I noticed that there is a section in the Solr query, right after the âANDâ section where it is expecting an attribute name, but itâs just blank. I manually modified the query generated by Solr, added the attribute, ran it against Solr directly, and it worked fine: |
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) |
|