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

BSON regex object support #18

Closed
okapies opened this issue May 20, 2015 · 6 comments
Closed

BSON regex object support #18

okapies opened this issue May 20, 2015 · 6 comments

Comments

@okapies
Copy link

okapies commented May 20, 2015

torodb throws an exception "Arguments of java.util.regex.Pattern type are not supported yet" when BSON queries contain regex objects.

https://github.com/torodb/torodb/blob/d94b5b89bcab38e2b21ebf94310109cacd40a153/kvdocument/mongo-converter/src/main/java/com/torodb/kvdocument/conversion/mongo/MongoValueConverter.java#L122-123

(I want to use torodb with Let's Chat, but it fails in migration phase on initial startup because of this problem.)

@ahachete
Copy link
Contributor

Hi Yuta!

Thank you for trying ToroDB with Let's Chat, and for raising this issue. We (obviously) knew it isn't implemented, but having users like you raising issues for features needed helps us give them more priority.

We have started working on it, although it's a non trivial patch. We will hopefully come back soon.

@okapies
Copy link
Author

okapies commented May 20, 2015

👍

@okapies
Copy link
Author

okapies commented May 20, 2015

I think RDS-backed Let's Chat is very cool because of its low maintenance cost and simplicity of operation.

@ahachete
Copy link
Contributor

Sure, it would be cool!

We're working on a patch right now. It will be ready, hopefully, soon. Stay tuned!

@ahachete
Copy link
Contributor

Hi! Good news. It looks like we have already added support for this. In a few hours we will be pushing out v0.22 which will have support for $regex, among some other bug fixes. Please try it out and reopen this issue if for some reason it doesn't work correctly for you.

Feel free to join the torodb-dev mailing list (https://groups.google.com/forum/#!forum/torodb-dev) to discuss further issues.

Thank you!

@gortiz gortiz closed this as completed in 1f3c2d4 May 27, 2015
@okapies
Copy link
Author

okapies commented May 27, 2015

Great! Thanks so much.

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

No branches or pull requests

2 participants