Re: Custom scoring algorithm and Explanation extending.

2017-11-22 Thread Vadim Gindin
Thank's a lot! On Mon, Nov 20, 2017 at 11:22 PM, Adrien Grand wrote: > Hi Vadim, > > Le jeu. 16 nov. 2017 à 18:09, Vadim Gindin a écrit > : > > > 1. I would like to use my custom scoring algorithm. Is it make sense to > use > > Lucene with other scoring

Re:who can help?

2017-11-22 Thread wujun
6.6.2 -- Original -- From: "wujun"; Date: Thu, Nov 23, 2017 02:23 PM To: "java-user"; Subject: who can help? IndexSearcher searcher = new IndexSearcher(DirectoryReader.open(dir)); List leafReaderContextList

who can help?

2017-11-22 Thread wujun
IndexSearcher searcher = new IndexSearcher(DirectoryReader.open(dir)); List leafReaderContextList = searcher.getTopReaderContext().leaves(); for (LeafReaderContext leafReaderContext : leafReaderContextList) { long min = leafReaderContext.docBase; long count =

Question about a documentation note in CompressingStoredFieldsIndexWriter

2017-11-22 Thread Roman Margolis
Hi, I was reading some internal info about Lucene, and was confused by a note on this page: https://lucene.apache.org/core/7_1_0/core/org/apache/lucene/codecs/compressing/CompressingStoredFieldsIndexWriter.html The note (the last note at the bottom) says: - Once data is loaded into memory,