Well, in that case i'd open a ticket for this one. The problem is, for now, that i can only replicate the behaviour using the spatial plugin.
On Wednesday 08 December 2010 21:58:06 Chris Hostetter wrote: > : That's fine - it could be a Solr bug too. > > it definitely looks like a generic solr bug. > > JSONResponseWriter.java:398 > (in the writeSolrDocument method that supports psuedo-fields) > > writeMapOpener(-1); // no trivial way to determine map size > > PHPSerializedResponseWriter.java:221 > (in which PHPSerializedWriter extends JSONWriter)... > > public void writeMapOpener(int size) throws IOException, > IllegalArgumentException { // negative size value indicates that something > has gone wrong > if (size < 0) { > throw new IllegalArgumentException("Map size must not be > negative"); > } > > > ...it looks like PHPSerializedResponseWriter is fundementally broken. > > I suspect the origin of hte problem is that PHPSerializedWriter overrides > "writeDoc" and that prevented the writeMapOpener(-1) from ever happening, > but then "writeSolrDocument" was added which PHPSerializedWriter doesn't > override that. > > > > -Hoss -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350