On Jul 8, 2008, at 22:44, Brad King wrote:

Jan, I was talking about this:

{
 "_id":"_design/fulltextsearch",
 "_rev":"123",
 "fulltext_options": {
   "views": {
     "names" : {"index":"view-value", "return":"document"},
     "cities": {"index":"view-key", "return":"view"}
   }
 }
}

which is shown here:

http://wiki.apache.org/couchdb/FullTextSearch

That is marked RFC (request for comments) :-) This is a suggestion
on how things might look like in the future, but there is no code for
that in place yet. Sorry to disappoint you :)

Cheers
Jan
--



Doesn't there have to be supporting views to populate this? Maybe this
is out of date. Since it isn't exposed, and it sounds like not being
actively worked on, its not super important anyway. Nevermind.

I'll have a look at the xapian stuff too. Thanks Paul.

On Tue, Jul 8, 2008 at 4:32 PM, Jan Lehnardt <[EMAIL PROTECTED]> wrote:

On Jul 8, 2008, at 22:07, Brad King wrote:

Couple of questions on Lucene:

- Is it possible to query a couchdb full text index from the REST API
or Futon yet?

no.


- I'm having trouble groking the design document format for Full Text Search views, as shown on the wiki. What do the actual emit functions
for the views to support this look like?

The what? :-) What are you referring to? There's is currently no way
to FT-query views with Lucene. You can index & query full databases
though.

Cheers
Jan
--



Reply via email to