You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Magnus Eklund <ma...@gmail.com> on 2009/11/19 18:00:21 UTC

Inner join / filtering

Hi

I have two potentially very large collections of documents. Now I  
would like to be able to query one of them using for example  
startkey,endkey while at the same time filtering out documents not  
present in the other collection (based on the equality of some field  
common to both document types).

Is there any reasonable way to do this with CouchDb?

Thanks

- Magnus Eklund

Re: Inner join / filtering

Posted by Magnus Eklund <ma...@gmail.com>.
On Nov 19, 2009, at 6:47 PM, David Nolen wrote:

> I use couchdb-lucene for things like this. It useful and not just  
> for full
> text search. It's also really easy to integrate and interfacing to  
> it is
> quite CouchDB-y.
>

Thank you very much for your reply. I'll have a look at couchdb-lucene!

- Magnus


> On Thu, Nov 19, 2009 at 12:00 PM, Magnus Eklund <magnus.eklund@gmail.com 
> >wrote:
>
>> Hi
>>
>> I have two potentially very large collections of documents. Now I  
>> would
>> like to be able to query one of them using for example  
>> startkey,endkey while
>> at the same time filtering out documents not present in the other  
>> collection
>> (based on the equality of some field common to both document types).
>>
>> Is there any reasonable way to do this with CouchDb?
>>
>> Thanks
>>
>> - Magnus Eklund
>>


Re: Inner join / filtering

Posted by David Nolen <dn...@gmail.com>.
I use couchdb-lucene for things like this. It useful and not just for full
text search. It's also really easy to integrate and interfacing to it is
quite CouchDB-y.

On Thu, Nov 19, 2009 at 12:00 PM, Magnus Eklund <ma...@gmail.com>wrote:

> Hi
>
> I have two potentially very large collections of documents. Now I would
> like to be able to query one of them using for example startkey,endkey while
> at the same time filtering out documents not present in the other collection
> (based on the equality of some field common to both document types).
>
> Is there any reasonable way to do this with CouchDb?
>
> Thanks
>
> - Magnus Eklund
>