Why does Lucene 7.4.0 commit() Increase Memory Usage x2

2019-03-31 Thread thturk
Hello, -For a while i am tring to figure out why ram usage incease x2 than before after commit one single document. -Lucene Version 7.4.0 -Writer Directory FSDirectory -Reader Directory MMapDirectory -I create new IndexWriter instance per update, add, delete and commit after each operations. -Af

Re: How can I decode geo point postings?

2019-03-31 Thread Trejkaz
On Mon, Apr 1, 2019 at 5:32 AM David Smiley wrote: > > Yup. And if you have the original lat/lon then you can forgo the > complexity of reverse-engineering it from postings. It has been a long day. I did manage to reverse engineer it by reversing the stuff in geoCodedToPrefixCodedBytes - to dis

Re: How to control missing value when sorting using *ValuesSource?

2019-03-31 Thread Michael Sokolov
I just want to surface this again in case it got missed; it's a small gap, but it seems buggy that we can support setMissingValue for SortFields based on concrete numeric fields, but not for abstract values sources that are numeric and have the same "missing value" semantics - ie when the source do

Re: How can I decode geo point postings?

2019-03-31 Thread David Smiley
Yup. And if you have the original lat/lon then you can forgo the complexity of reverse-engineering it from postings. ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Thu, Mar 28, 2019 at 2:49 PM Adrien Grand wrote: > Hi Trejkaz, > > My best guess wo

Getting Exception : java.nio.channels.ClosedByInterruptException

2019-03-31 Thread Chellasamy G
Hi All, I am committing an index periodically using a scheduler. On a rare case I got the below exception in the committing thread, Lucene Version : 7.4.0 java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel