Re: Lucene commit

2016-08-21 Thread Christoph Kaser
Hello Paul, this is already possible using DirectoryReader.openIfChanged(indexReader,indexWriter). This will give you an indexreader that already "sees" all changes made by the writer (up to that point), even though the changes were not yet committed: https://lucene.apache.org/core/6_1_0/core

Lucene commit

2016-08-21 Thread Paul Masurel
Hi, If I understand correctly, Lucene indexing threads are working on their own individual segment. When a thread has enough documents in its segment, it flushes it on disc and starts a new one. But segments are only searchable when they are commited. Now my question is, wouldn't it be nice to be

Re: Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-21 Thread Janaka Thilakarathna
Hi Michael, I started playing with Lucene LatLon and Geo3D points. I have a problem about the constructor of Geo3DPoint. In the other constructor, Geo3DPoint(String name, double x, double y, double z)

Re: docid is just a signed int32

2016-08-21 Thread Cristian Lorenzetto
maybe using TopDocs.merge you can the same query on multiple indexes, with multireader you can also to make join operation on different indexes 2016-08-21 19:31 GMT+02:00 Cristian Lorenzetto < cristian.lorenze...@gmail.com>: > i m overviewing TopDocs.merge. > > What is the difference to use multi

Re: docid is just a signed int32

2016-08-21 Thread Cristian Lorenzetto
i m overviewing TopDocs.merge. What is the difference to use multiple SearchIndexer and then to use TopDocs or to use MultiReader? 2016-08-21 2:28 GMT+02:00 Cristian Lorenzetto : > For my opinion this study dont tell any thing more than before. Obviously > if you try to retrieve all data store i

searchAfter behavior after reindexing

2016-08-21 Thread Rajnish kamboj
Hi Team What is the searchAfter behavior if index is continuously being updated. Document numbers changes if indexes are updated. Also indexes are update on segment merge. Now, Suppose - I am holding a ScoreDoc before index update - Index is updated (document number changes). (A document

sorting biginteger

2016-08-21 Thread Cristian Lorenzetto
I took a look for bigInteger point but i didnt see no reference for sorting, and SortedNumericDocValuesField accept long not biginteger. I thought to sort so : BigInteger bi = (BigInteger) o; byte[] b = bi.toByteArray(); NumericUtils.bigIntToSortableBytes(bi, BigIntegerPoint.BYTES, b, 0); doc.ad