Re: Indexing & Searching Geometries ( MultiLine & MultiPolygon )

2020-10-02 Thread thturk
Thank you for your fast response. Yes i have tired this. Actually also There is directly polygon created from geojson recommend me to do dame. Because its returns Polygon Array But is it the Most efficient method if indexing spatial data ? Ana same For MultiLine They are also type of Line Arrays

Re: Indexing & Searching Geometries ( MultiLine & MultiPolygon )

2020-10-02 Thread Ignacio Vera
Hello! Let's consider polygons. I imagine you are doing something like this to index one polygon: Polygon polygon = Document document = new Document(); Field[] fields = LatLonShape.createIndexableFields(FIELDNAME, polygon); for (Field f : fields) { document.add(f); } So a multipolygon is

Indexing & Searching Geometries ( MultiLine & MultiPolygon )

2020-10-02 Thread thturk
Hello Forum, I want to create a Reverse Geocode service for data i have in this data set there is Points, Lines, MultiLines, Polygons and MultiPolygons some how i was able to Index Point, Line And Poligon And created search queries for those indexes .But i can not understand how i will index Oth