unique ID with docValues=true

2016-06-06 Thread Bracha Yalon
Hi, I am trying to implement paging using cursors on a very big index. I noticed I must index the unique ID with docValues=true otherwise the memory will be loaded (I got OOM very quickly). I want to make sure that this attribute will not cause any problem elsewhere (indexing, stats etc.), esp

Re: "Point in polygon" search with Lucene / Spatial4j / JTS

2016-06-06 Thread Michael McCandless
Once 6.1 is out (in a few weeks) the best option Lucene has for polygon searching is the new LatLonPoint.newPolygonQuery. It's the fastest option (see our nightly geo benchmarks: http://home.apache.org/~mikemccand/geobench.html), the API is simple, the implementation is simple, etc. It indexes th