Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7848485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:13:18+00:00 2026-06-02T18:13:18+00:00

I really don’t know what’s going on with my configuration, but I’m just not

  • 0

I really don’t know what’s going on with my configuration, but I’m just not able to query anything after indexing (don’t even know if I’m doing the indexing part correctly). Could someone please tell me what each of the following means and should be?

I have a CouchDB database called bestdb. Inside this database I have document types like product and customer.

Now I installed elastic search version 0.18.7 and the corresponding couchdb river. I started elastic search and couchdb. I set the network.host of elasticsearch to be an ip address: 10.0.0.129 . I followed the instructions in the tutorial :

curl -XPUT '10.0.0.129:9200/_river/{A}/_meta' -d '{
    "type" : "couchdb",
    "couchdb" : {
        "host" : "localhost",
        "port" : 5984,
        "db" : "bestdb",
        "filter": null
    },
    "index" : {
        "index" : "{B}",
        "type" : "{C}",
        "bulk_size" : "100",
        "bulk_timeout" : "10ms"
    }
}'

{A}: What’s this? My understanding is that this is just an internal elastic search index right? It’s not being used for querying or searching right? So this could be any name right?

{B}: What’s this index? How is this different from the one above? What should the value of this be in my scenario?

{C}: Is this related to the Document Type in couchdb, like product or customer ?

The online tutorial just sets everything to be the same value. How would my curl statement look like if I wanted to query all product documents or customer documents?

Thank you to whoever that clears things up a bit for me.

Regards,
Mark Huang

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:13:20+00:00Added an answer on June 2, 2026 at 6:13 pm

    kimchy’s documentation often leaves a little bit to the imagination. 🙂

    A is the river name. A river is just an ES document, stored in an index named _river, a type named whatever you want, and a doc id _meta.

    B & C is the local index/_type that your bestdb couchdb _changes stream will get indexed into. These can be overridden by _index and _type fields in your couchdb documents. If none of the above is supplied, they’ll default to your couchdb instance name bestdb/bestdb.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really don't know how to explain what's going on, so I'll just show
I know that the naming conventions really don't say anything about that, but I
I really don't know how to explain this, but I'll do my best. I
I really don't like asking about these little issues, but after diggin for hours,
I really don't know how to title this question, but I need some help
I...really don't know how to word the title better. But basically, what I have
I really don't know what is going on. It worked the first time, then
I am not being flip I really don't get it. I just read a
I really don't know how to express this question. But what I'm trying to
I really don't know, why this is so complex and hard just for reading

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.