Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
fix example in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Apr 17, 2010
1 parent 0669d2b commit 3d2fb72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Here's an complete example of a design document with couchdb-lucene features:

<pre>
{
"_id":"_design/a_design_document_with_any_name_you_like",
"_id":"_design/foo",
"fulltext": {
"by_subject": {
"index":"function(doc) { var ret=new Document(); ret.add(doc.subject); return ret }"
Expand All @@ -92,8 +92,8 @@ Here's an complete example of a design document with couchdb-lucene features:
Here are some example URL's for the given design document;

<pre>
http://localhost:5984/database/_fti/lucene/by_subject?q=hello
http://localhost:5984/database/_fti/lucene/by_content?q=hello
http://localhost:5984/database/_fti/foo/by_subject?q=hello
http://localhost:5984/database/_fti/foo/by_content?q=hello
</pre>

A fulltext object contains multiple index view declarations. An index view consists of;
Expand Down

0 comments on commit 3d2fb72

Please sign in to comment.