RE: Lucene Spatial Implementation for Points within Polygon.

2014-12-24 Thread Ankit.Murarka
Thanks for the suggestions David.. However I am in a fix.. Although I am indexing and searching both using JTS, I am still getting very less hits. I am very sure that points which are indexed, falls inside lot of polygons but hits are not giving me the proper result. For approx. 8 lac polygons,

Automaton -> SpanMultiTermQueryWrapper with lucene 4.10.2

2014-12-24 Thread Valentin Popov
Hello, everyone. I have maybe not standard question, how to use together Automaton and SpanMultiTermQueryWrapper. Main idea of this approach is solve some problem with search. I need search combination of numbers on text. Combination is any numbers [0-9]{3}-[0-9]{3}-[0-9]{3}, exclude 111 in

Re: Lucene Spatial Implementation for Points within Polygon.

2014-12-24 Thread david.w.smi...@gmail.com
One problem is the classic x/y, lat/lon mix-up. WKT is “x y" order, and so are Spatial4j methods for that matter. If you consistently made this mistake then it might yield correct results provided the point data is within -90 and +90 longitude. Maybe this will do it. Otherwise your code appear