Re: More Spatial Relations

2018-06-01 Thread David Smiley
For predicates other than "intersects", that is true :-/ Any help you might be interested in offering here is most welcome. On Fri, Jun 1, 2018 at 8:38 PM Bingtao Yin wrote: > Hi David, > > Thanks for you reply. > > Compared to the prefix tree, implementation through doc-value seems slow. > It

Re: More Spatial Relations

2018-06-01 Thread Bingtao Yin
Hi David, Thanks for you reply. Compared to the prefix tree, implementation through doc-value seems slow. It needs to load shapes from doc-value for all docs and check each with the query shape. 2018-06-02 3:31 GMT+08:00 David Smiley : > Hi Bingtao, > > > If I want to implement query for

Re: More Spatial Relations

2018-06-01 Thread David Smiley
Hi Bingtao, > If I want to implement query for other relations, should I just serialize shape to binary format(e.g. wkb) and fall back to jts? Yes. There's a lot already there but you'd need to subclass some stuff to add some other predicates. See CompositeSpatialStrategy and

EarlyTerminatingSortingCollector is expired in lucene 7.2.1

2018-06-01 Thread Yonghui Zhao
Hi, I find EarlyTerminatingSortingCollector is expired in lucene 7.2.1. Java doc says Pass trackTotalHits=false to {@link TopFieldCollector} instead of using this class. But I find TopFiledCollector can not fully replace EarlyTerminatingSortingCollector. In EarlyTerminatingSortingCollector