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

"namespace is too long" #642

Open
stefanve opened this issue Feb 26, 2019 · 2 comments
Open

"namespace is too long" #642

stefanve opened this issue Feb 26, 2019 · 2 comments
Labels

Comments

@stefanve
Copy link

MongoError: namespace name generated from index name "5c50994dd5ec13fbd291e333_db.coll.$field1_text__id_text_field2_text_field3_text_field4_text" is too long (127 byte max)

Only way I can get around that error is to remove some fields from the engine definition.

@matteodem
Copy link
Owner

Are you using the mongo text index engine?

@stefanve
Copy link
Author

Are you using the mongo text index engine?

Yes. Or I did. I got around the problem by simply pre-creating the indexes with more handsome names.

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

No branches or pull requests

2 participants