The indexes are separate. You can use a fulltext function to index the
field and then you can query it for particular values. I'm not sure
there's a need for couchdb-lucene for a case that is easily covered by
couchdb views, though, unless you need boolean ("cat OR dog") or
wildcards, or something.B. On Fri, Aug 13, 2010 at 5:51 PM, A.J. Brown <[email protected]> wrote: > 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 <[email protected]> > wrote: >> yes. >> >> On Fri, Aug 13, 2010 at 4:16 PM, A.J. Brown <[email protected]> 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 >
