self intersecting polygon errors

2012-12-05 Thread jend
Hi, trying to play with polygon searches and have noticed this issue. It seems when you cross a line you invalidate the polygon (Sorry I have no idea about the technical term) and solr cannot handle it. As far as my goog

how to do a range search not on ordered data (text type)

2012-12-01 Thread jend
Hi, Im building a solr install which has a blurb of data in a field "description". In that field there are sentences such as "This property has a block size of 770sqm." or "1200sqm block blah blah blah". Its a text field obviously. How can I construct a search as follows. Someone wants to searc

Re: solr4 MULTIPOLYGON search syntax

2012-11-20 Thread jend
Thanks to both of you. I got it working as follows after your helpful posts. I get this polygon search working. fq=geo:"Intersects(POLYGON((149.4023 -34.6072, 149.4023 -34.8690, 149.9022 -34.8690, 149.9022 -34.6072, 149.4023 -34.6072)))" AND I can get this search working (as in results returned)

solr4 MULTIPOLYGON search syntax

2012-11-19 Thread jend
Does anybody have any info on how to property construct a multipolygon search? Im very interested in Polygon (search all documents within a shape) Multipolygon (search all documents within 2+ shapes) Multipolygon (search all documents with 2+ shapes but not within an area within a shape - if you