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 6721615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:21:01+00:00 2026-05-26T09:21:01+00:00

How can I store elasticsearch settings+mappings in one file (like schema.xml for Solr)? Currently,

  • 0

How can I store elasticsearch settings+mappings in one file (like schema.xml for Solr)? Currently, when I want to make a change to my mapping, I have to delete my index settings and start again. Am I missing something?

I don’t have a large data set as of now. But in preparation for a large amount of data that will be indexed, I’d like to be able to modify the settings and some how reindex without starting completely fresh each time. Is this possible and if so, how?

  • 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-26T09:21:02+00:00Added an answer on May 26, 2026 at 9:21 am

    These are really multiple questions disguised as one. Nevertheless:

    How can I store elasticsearch settings+mappings in one file (like schema.xml for Solr)?

    First, note, that you don’t have to specify mapping for lots of types, such as dates, integers, or even strings (when the default analyzer is OK for you).

    You can store settings and mappings in various ways, in ElasticSearch < 1.7:

    1. In the main elasticsearch.yml file
    2. In an index template file
    3. In a separate file with mappings

    Currently, when I want to make a change to my mapping, I have to delete my index settings and start again. Am I missing something?

    You have to re-index data, when you change mapping for an existing field. Once your documents are indexed, the engine needs to reindex them, to use the new mapping.

    Note, that you can update index settings, in specific cases, such as number_of_replicas, “on the fly”.

    I’d like to be able to modify the settings and some how reindex without starting completely fresh each time. Is this possible and if so, how?

    As said: you must reindex your documents, if you want to use a completely new mapping for them.

    If you are adding, not changing mapping, you can update mappings, and new documents will pick it up when being indexed.

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

Sidebar

Related Questions

I want to make a database that can store any king of objects and
I want ot create database table in which I can store application settings. Which
Is there a way i can store a number locally? I want to make
We can store Connection String in Web.config file in two ways One is <connectionStrings>
How can store latin characters in appengine? (e.g. peña) when I want to store
My server can store files with *.pdf extension. Should I check the file format
I'd like to create a class where the client can store a lambda expression
In Java you can store a class in a separate file and instantiate it
I would like to know if I can store more data than a Facebook
Today in my system any user can store a string the way he want.

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.