problem in getting data with spanTermQuery Lucene 5.2

2015-08-03 Thread Behnam Khoshsafar
problem in getting data with spanTermQuery Lucene 5.2 i need and example of spantermquery and getsapns in lucene 5.2 thanks; - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-

ByteBlockPool class.

2015-08-03 Thread elbek kamoliddinov
Hi Lucene hackers. I was looking into lucene internals and came across ByteBlockPool class. In that class I see following static final array: public final static int[] LEVEL_SIZE_ARRAY = {5, 14, 20, 30, 40, 40, 80, 80, 120, 200}; why and how these numbers are selected? In addition In the #allocS

Re: ByteBlockPool class.

2015-08-03 Thread Michael McCandless
On Mon, Aug 3, 2015 at 11:35 AM, elbek kamoliddinov wrote: > Hi Lucene hackers. > I was looking into lucene internals and came across ByteBlockPool class. In > that class I see following static final array: > public final static int[] LEVEL_SIZE_ARRAY = {5, 14, 20, 30, 40, 40, 80, > 80, 120, 200}

De-Serializing a query string into BooleanQuery without analyzing

2015-08-03 Thread rahul challapalli
Hi, I am trying to accomplish the below sequence of tasks and I am struck during the last step 1. Construct a BooleanQuery 2. Serialize BooleanQuery into a String 3. De-Serialize a String into a BooleanQuery (or a Query) on a different machine. Eg : Lets say from step(2) I got the bel