Re: join in lucene

2017-03-16 Thread Cristian Lorenzetto
ok but the second solution has same performance or not? pratically query-times join work making nested query: execute first query then for every row it execute the corrisponding row in the secondat table using foreign key and primary key ? 2017-03-16 19:47 GMT+01:00 Mikhail Khludnev : > > > > *

Re: join in lucene

2017-03-16 Thread Mikhail Khludnev
> > *it possible to use joinedQuery in nested way(if i have 2 joins to 2 > different entities for example)? * > *main query -> nested inside first join -> nested in the second join,...* I don't see any reasons why it couldn't work in this manner. but it just usually slow. On Thu, Mar 16, 2017 a

join in lucene

2017-03-16 Thread Cristian Lorenzetto
I want realize multiple joins in lucene. Considering the complexy of joining i want i will skip index join. first strategy : Query-time joins String fromField = "from"; // Name of the from field boolean multipleValuesPerDocument = false; // Set only yo true in the case when your fromField has m

Re: Inner join in lucene

2013-01-21 Thread Ramprakash Ramamoorthy
On Fri, Jan 18, 2013 at 9:05 PM, Apostolis Xekoukoulotakis < xekou...@gmail.com> wrote: > You can put those fields as a DocValue type of field. They are optimized > for use during search(or join in this case). > > Then create a collector that collects the documents which have the same > value in t

Re: Inner join in lucene

2013-01-18 Thread Apostolis Xekoukoulotakis
You can put those fields as a DocValue type of field. They are optimized for use during search(or join in this case). Then create a collector that collects the documents which have the same value in those fields. Have other more experienced comment though before you start implementing it. 2013/

Re: SQL-Like Join in Lucene

2006-08-10 Thread hu andy
100/1000 hits. Here the database table has about 300,000 records 2006/8/11, Aleksei Valikov <[EMAIL PROTECTED]>: Hi. I'm investigating a possibility to make a "join" in Lucene/Compass. Here's the thread: http://forums.opensymphony.com/thread.jspa?threadID=39685&am

SQL-Like Join in Lucene

2006-08-10 Thread Aleksei Valikov
Hi. I'm investigating a possibility to make a "join" in Lucene/Compass. Here's the thread: http://forums.opensymphony.com/thread.jspa?threadID=39685&tstart=0 I have records m:m entities. Entities hold indexed information. Records consist of entities. One entity may be