incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A.J. Brown" ...@ajbrown.org>
Subject Re: CouchDB-Lucene and keys
Date Fri, 13 Aug 2010 16:51:59 GMT
Can you elaborate? :) Do I just specify a map function next to the
index function, and pass the normal key|startkey|endkey query string
variables along with my query?

On Fri, Aug 13, 2010 at 11:19 AM, Robert Newson <robert.newson@gmail.com> wrote:
> yes.
>
> On Fri, Aug 13, 2010 at 4:16 PM, A.J. Brown <aj@ajbrown.org> wrote:
>> Hi All,
>>
>> Is it possible to emit keys with couchdb-lucene views, and return only
>> documents which match the key (like standard views)?  I have a set of
>> documents that are currently being indexed, but I need to query only a
>> certain subset of those documents based on a certain variable value.
>> I would rather not have to make seperate lucene views for each
>> possible variable value since the number of possible values is not
>> fixed.
>>
>> Thanks for your help!
>>
>> --
>> A.J. Brown
>> Software Engineer, ZCE
>> blog : http://ajbrown.org
>> talk  : (937) 540-0099
>> chat : IntypicaAJ
>>
>



-- 
A.J. Brown
Software Engineer, ZCE
blog : http://ajbrown.org
talk  : (937) 540-0099
chat : IntypicaAJ

Mime
View raw message