Permalink
Browse files

fix example in README.

  • Loading branch information...
Robert Newson
Robert Newson committed Apr 17, 2010
1 parent 0669d2b commit 3d2fb724fe4f985e252a8299e8ba4f6fbe8e0619
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -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 }"
@@ -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;

0 comments on commit 3d2fb72

Please sign in to comment.