How-to index arrays (tags) in CouchDB using couchdb-lucene
Posted
by Lucas
on Stack Overflow
See other posts from Stack Overflow
or by Lucas
Published on 2010-05-01T15:20:44Z
Indexed on
2010/05/01
15:27 UTC
Read the original article
Hit count: 525
The setup:
I have a project that is using CouchDB. The documents will have a field called "tags". This "tags" field is an array of strings (e.g., "tags":["tag1","tag2","etc"]). I am using couchdb-lucene as my search provider.
The question:
What function can be used to get couchdb-lucene to index the elements of "tags"?
If you have an idea but no test environment, type it out, I'll try it and give the result here.
© Stack Overflow or respective owner