Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that _id key gets stripped from MongoDB index store in S3Store #556

Open
Andrew-S-Rosen opened this issue Feb 2, 2022 · 0 comments

Comments

@Andrew-S-Rosen
Copy link
Member

We should note in the documentation (at least) that the "_id" key gets stripped below. This meant I couldn't use "_id" from MongoStore index store when instantiating my S3Store.

# Remove MongoDB _id from search
if "_id" in search_doc:
del search_doc["_id"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant