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

  • Home
  • SEARCH
  • 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 6741757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:45:49+00:00 2026-05-26T11:45:49+00:00

I am using the river plugin for CouchDB and when I execute the following

  • 0

I am using the river plugin for CouchDB and when I execute the following curl command:

curl -XPUT 'localhost:9200/_river/blog/_meta' -d '{
  "type": "couchdb",
  "couchdb": {
    "host": "localhost",
    "port": 5984,
    "db": "blog",
    "filter": null
  },
  "index": {
    "analysis": {
      "analyzer": {
        "whitespace": {
          "type": "whitespace",
          "filter": "lowercase"
        },
        "ox_edgeNGram": {
          "type": "custom",
          "tokenizer": "ox_t_edgeNGram",
          "filter": [
            "lowercase"
          ]
        },
        "ox_NGram": {
          "type": "custom",
          "tokenizer": "ox_t_NGram",
          "filter": [
            "lowercase"
          ]
        }
      },
      "tokenizer": {
        "ox_t_edgeNGram": {
          "type": "edgeNGram",
          "min_gram": 2,
          "max_gram": 25,
          "side": "front"
        },
        "ox_t_NGram": {
          "type": "NGram",
          "min_gram": 2,
          "max_gram": 25
        }
      }
    }
  }
}'

receive the response:

{
  "ok": true,
  "_index": "_river",
  "_type": "blog",
  "_id": "_meta",
  "_version": 1
}

The problem I have, is when I want to view the settings in the browser and go to:
http://localhost:9200/blog/_settings?pretty=true

The json that is returned is as follows, but I’m expecting information regarding the analyzer etc. that I thought I created.

Returned JSON:

{
  "blog": {
    "settings": {
      "index.number_of_shards": "5",
      "index.number_of_replicas": "1"
    }
  }
}

It should also be noted that when I create a blog index without using the river and run a curl command to input the analysis information, I do receive a response from the browser indicating the settings that I input.

How can I set the default settings of a an index when using the River plugin?

  • 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-05-26T11:45:49+00:00Added an answer on May 26, 2026 at 11:45 am

    To solve this issue:

    1. Create new Elasticsearch index + mappings etc.
    2. Create new Elasticsearch river with the name of the index set to that of the index created in step one.

    I found the answer here:

    http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/5ebf1556d139d5ac/f17e71e04cac5889?lnk=gst&q=couchDB+river+settings#f17e71e04cac5889

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

Sidebar

Related Questions

Using jQuery, what's the best way to automatically initialize a plugin on all current
Using the following as an example (with $db being a previously created database connection
I'm using the new ASP.NET Universal Providers as described at this Hanselman blog post
I'm trying to get ElasticSearch to work, specifically with the River Plugin. For some
I am using curl from a BASH shell. I would like to create a
Using the following form in a view <% using (Ajax.BeginForm(PatientSearch, new {}, new AjaxOptions()
I've created a couchDB river (from this elasticsearch example ) for elasticsearch with the
I am using a Wind River Compiler 4 (gcc (C) and g++ (C++)) and
Giving the following code: Animal a = new Animal { Name = Rover, Type
Using online interfaces to a version control system is a nice way to have

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.