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

Document not found for id(s) #18

Open
wedtm opened this issue Mar 16, 2012 · 2 comments
Open

Document not found for id(s) #18

wedtm opened this issue Mar 16, 2012 · 2 comments

Comments

@wedtm
Copy link

wedtm commented Mar 16, 2012

When searching for a keyword that will select a document that has since been removed from MongoDB (i.e. still in the index, but not in the database), rails throws a 500 error.

Is there any way to tell Mebla to simply skip these documents if it's not found?

@cousine
Copy link
Owner

cousine commented Mar 18, 2012

There isn't a way to skip these documents, but also if a document is deleted from Mongo it should be removed from the index as well.

I'll handle the issue anyway and release a patch

@wedtm
Copy link
Author

wedtm commented Mar 19, 2012

What's the appropriate way of deleting them? I thought Melba hooked into all crud operations automatically.

Thanks for handling it anyways, though.

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

2 participants