[ https://issues.apache.org/jira/browse/SOLR-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch closed SOLR-2278. --------------------------------------- Resolution: Cannot Reproduce > PHPSerialized fails with Solr spatial > ------------------------------------- > > Key: SOLR-2278 > URL: https://issues.apache.org/jira/browse/SOLR-2278 > Project: Solr > Issue Type: Bug > Components: spatial > Affects Versions: 1.4.1 > Reporter: Markus Jelsma > > Solr throws a java.lang.IllegalArgumentException: Map size must not be > negative exception when using the PHP Serialized response writer with JTeam > SolrSpatial plugin in front. At first it may seem a bug in the plugin but > according to some posts in the mailing list thread ( > http://lucene.472066.n3.nabble.com/Map-size-must-not-be-negative-with-spatial-results-php-serialized-td2039782.html > ) it just might be a bug in Solr. > The only way to reproduce the issue that i know of is using using LocalParams > to set spatial parameters and having the spatial search component activated > as last-components. If the query yields no results, the exception won't show > up. > <!-- Spatial search component --> > <searchComponent name="geodistance" > class="nl.jteam.search.solrext.spatial.GeoDistanceComponent"> > <defaults> > <str name="distanceField">distance</str> > </defaults> > </searchComponent> > <!-- Spatial query parser --> > <queryParser name="spatial" > class="nl.jteam.search.solrext.spatial.SpatialTierQueryParserPlugin" > basedOn="dismax"> > <str name="corePoolSize">1</str> > <str name="maxPoolSize">1</str> > <str name="keepAlive">60</str> > <str name="latField">ad_latitude</str> > <str name="lngField">ad_longitude</str> > <str name="tierPrefix">_tier_</str> > </queryParser> > In the request handler: > <arr name="last-components"> > <str>geodistance</str> > </arr> > query: > http://localhost:8983/solr/search?q={!spatial%20lat=51.9562%20long=6.02606%20radius=432%20unit=km}auto&wt=php -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org