Re: Lucene GeoNear Search and Sort Performance

2017-07-19 Thread David Smiley
lmost 5x. > > I am testing with 30K Lat/Lon and memory increases overtime. > > Any suggestions to improve memory consumption or code? > > Thanks > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Perf

Re: Lucene GeoNear Search and Sort Performance

2017-07-18 Thread sc
creases overtime. Any suggestions to improve memory consumption or code? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468p4346726.html Sent from the Lucene -

Re: Lucene GeoNear Search and Sort Performance

2017-07-17 Thread David Smiley
time and responding. > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468p4346286.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --

Re: Lucene GeoNear Search and Sort Performance

2017-07-16 Thread sc
ntext ctx, java.lang.String fieldNamePrefix); I don't use Solr packages either. What's the correct way to use PointVectorStrategy under Lucene 5.5.4 version? Thanks for taking time and responding. -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-GeoNear-

Re: Lucene GeoNear Search and Sort Performance

2017-07-16 Thread David Smiley
#x27; (expected=NUMERIC). Use > UninvertingReader or index with docvalues. > at org.apache.lucene.index.DocValues.checkField(DocValues.java:208) > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-P

Re: Lucene GeoNear Search and Sort Performance

2017-07-16 Thread sc
llegalStateException: unexpected docvalues type NONE for field 'pointVector__x' (expected=NUMERIC). Use UninvertingReader or index with docvalues. at org.apache.lucene.index.DocValues.checkField(DocValues.java:208) -- View this message in context: http://lucene.472066.n3.nabble

Re: Lucene GeoNear Search and Sort Performance

2017-07-14 Thread David Smiley
ading index, its throwing OutOfMemory Exception. I > increased the memory to 4G and its failed. > > Any Suggestions, > > Thanks Much. > > > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-a

Re: Lucene GeoNear Search and Sort Performance

2017-07-14 Thread sc
n loading index, its throwing OutOfMemory Exception. I increased the memory to 4G and its failed. Any Suggestions, Thanks Much. -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468p4346178.html Sent from the Lucene - Jav

Re: Lucene GeoNear Search and Sort Performance

2017-07-05 Thread Michael McCandless
search.IndexSearcher.search( > IndexSearcher.java:503) > > Question is should I also store LatLonDocValuesField while Indexing? > > doc.add(new LatLonDocValuesField("loc", latitude, > longitude)); &g

Re: Lucene GeoNear Search and Sort Performance

2017-07-05 Thread sc
Alex, It didn't work for me. Did I miss anything in the above code I posted? Thanks, Satish -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468p4344490.html Sent from the Lucene - Java Users mailing list archi

Re: Lucene GeoNear Search and Sort Performance

2017-07-05 Thread afilipchik
where I can specify the >> radius. >> >> Or how can I sort results from LatLonPoint.newDistanceQuery? >> >> Thanks again. >> >> >> >> >> >> -- >> View this m

Re: Lucene GeoNear Search and Sort Performance

2017-07-03 Thread sc
tore LatLonDocValuesField while Indexing? doc.add(new LatLonDocValuesField("loc", latitude, longitude)); -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468p4

Re: Lucene GeoNear Search and Sort Performance

2017-07-01 Thread Michael McCandless
> Is there an API that use with LatLonPoint.nearest where I can specify the > radius. > > Or how can I sort results from LatLonPoint.newDistanceQuery? > > Thanks again. > > > > > > -- > View this message in context: http://lucene.472066.n3.nabble > .com/Luc

Re: Lucene GeoNear Search and Sort Performance

2017-06-29 Thread sc
ucene-GeoNear-Search-and-Sort-Performance-tp4343468p4343535.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

Re: Lucene GeoNear Search and Sort Performance

2017-06-29 Thread sc
use with LatLonPoint.nearest where I can specify the radius. Or how can I sort results from LatLonPoint.newDistanceQuery? Thanks again. -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468p4343502.html Sent from the Lucene

Re: Lucene GeoNear Search and Sort Performance

2017-06-29 Thread Michael McCandless
Query latlonQuery = > LatLonDocValuesField.newDistanceQuery("loc", minLat, minLng, 50); > > TopDocs docs = searcher.search(latlonQuery, 5, sortField); > > > Any suggestions greatly appreciated. > > Thanks, > > > > -- > View this mess

Lucene GeoNear Search and Sort Performance

2017-06-29 Thread sc
ocs = searcher.search(latlonQuery, 5, sortField); Any suggestions greatly appreciated. Thanks, -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468.html Sent from the Lucene - Java User