BlockJoin with RAM Directory

2016-11-29 Thread ASKozitsin
Hi everyone! I'm trying to fill RAMDirectory with documents according to BlockJoin structure: * child1_1 * child1_2 * child1_3 - parent1 * child2_1 * child2_2 - parent2 and so on. If I have small number of documents (less than 10.000) everything is okay. I can search among th

Re: BlockJoinQuery with sorting

2016-11-28 Thread ASKozitsin
https://lucene.apache.org/core/6_2_0/join/org/apache/lucene/search/join/ToParentBlockJoinSortField.html Fits Perfectly! Thanks for the link! -- View this message in context: http://lucene.472066.n3.nabble.com/BlockJoinQuery-with-sorting-tp4307405p4307672.html Sent from the Lucene - Java Users

Re: BlockJoinQuery with sorting

2016-11-28 Thread ASKozitsin
Here is an example: I've got 3 Offerings with such prices: [Offering1 : { id : 1, price : { value: [10, 30, 20], type : t1 } }, Offering2 : { id : 2, price : { value: [20], type : t2 } }, Offering3 : { id : 3, price : { value: [15, 40], type : t3} }] Originally, I would like to filter data by a

BlockJoinQuery with sorting

2016-11-25 Thread ASKozitsin
Hi, everyone! I'm using 6.3.0 Lucene. I've got two structures: Offerings and Prices. Offering has id, list of prices and other parameters. Price has value and other parameters(type, dates and so on). I create documents in Lucene in such manner: if i have offering with 3 prices in list, I make 3

RE: Array as Lucene Field

2016-10-10 Thread ASKozitsin
Oh, my fault! Thanks, Uwe! Alexander -- View this message in context: http://lucene.472066.n3.nabble.com/Array-as-Lucene-Field-tp4300445p4300597.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. -

RE: Array as Lucene Field

2016-10-10 Thread ASKozitsin
Thanks for quick response! Several NumericFields is a bit complicated, because I do not know how many values might be in array. -- View this message in context: http://lucene.472066.n3.nabble.com/Array-as-Lucene-Field-tp4300445p4300451.html Sent from the Lucene - Java Users mailing list archiv