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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:51:50+00:00 2026-06-12T03:51:50+00:00

sorry if I’ve asked a silly question but I can’t figure out the solution.

  • 0

sorry if I’ve asked a silly question but I can’t figure out the
solution.
I have data stored in mongodb and the collections are mapped to es
indices using richardwilly’s plugin. However, a couple of my indices
are messed up (due to which not all the data that I expect to see is
in es (its still in mongodb)). I tried creating a dummy index on dummy
data and I expect that after re-indexing I will now see this data in
es.

The problem seems to be that the mongo river operates on the oplog and
after I delete the index, after inserting the next first new document
I want to see the other thousands of documents in mongodb to
automatically now be visible in es. However, I only see the documents
that I inserted after deleting and recreating the indexes. The other
1000’s of documents are still visible in mongo but not in es.

I did a small experiment and I saw that if I actually reinserted the
500 documents, they are then visible in elasticsearch(if the index is
right to allow them all in). Can you please tell me how I can make the
data in mongodb visible in es after I recreate the index without
having to delete and reinsert as I cannot do this. Do I need to replay
the oplog or is there another approach that you can suggest such that
I can get this data into es without deleting and reinserting?

Thanks!

  • 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-12T03:51:51+00:00Added an answer on June 12, 2026 at 3:51 am

    Answering my own question, I got helped out by the elasticsearch community. If you delete the river and create a new one, then all the data in the collection you map to should be available in the elasticsearch index.

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

Sidebar

Related Questions

Sorry if this question's been asked before, but I can't seem to find an
Sorry for question but I can't find answer anywhere on internet. I couldn't find
Sorry for this simple question, but I can't solve it... There is an example:
Sorry if this is stupid question, but I'm new to MATLAB. I have a
Sorry gals & guys for a potentially dumb question but I have been looking
sorry for lamer question, but I really could not found subject. I have a
Sorry, I know this question is easy, but I don't know how to get
sorry for the dummy question but I cannot find a simple and clean way
Sorry but I am not sure how to ask this question but I am
Sorry if this question seems stupid, but it's stumped me for a couple days,

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.