If there are no filters, then LatLonDocValuesField is going to be asked to sort all of your docs, which is obviously going to take awhile. Can you simply add a filter? Like a distance filter using LatLonPoint?
On Thu, Jun 29, 2017 at 11:49 AM sc <scattaman...@4info.com> wrote: > Hi, > > I have similar requirement of searching points within a radius of 50m. > Loaded 100M latlon, indexed/searching with LatLonDocValuesField. I am > testing it on my macbook pro. > > I have used all Directory(RAM/FS/MMap) types but it takes 3-4 secs to do > search/sort to return of 5 points with in radius of 50m. > > I am looking to reduce search/sort time to 10ms. I have 4g of RAM for the > java process which is more than sufficient. > > Any suggestions greatly appreciated. > > Thanks, > sc > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Term-Dictionary-taking-up-lots-of-memory-looking-for-solutions-lucene-5-3-1-tp4335555p4343460.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker LinkedIn: http://linkedin.com/in/davidwsmiley | Book: http://www.solrenterprisesearchserver.com