-
Notifications
You must be signed in to change notification settings - Fork 192
Autoindexing fails if index field name contains '.' #1166
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
Labels
type: bug
A general bug
Comments
Needs to replace '.' with '_'.
And enclosing in back-ticks gives a better error message for invalid characters. |
mikereiche
added a commit
that referenced
this issue
Aug 11, 2021
mikereiche
added a commit
that referenced
this issue
Aug 11, 2021
Closes #1166. Co-authored-by: mikereiche <[email protected]>
mikereiche
added a commit
that referenced
this issue
Aug 11, 2021
Closes #1166. Co-authored-by: mikereiche <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Index generation will fail with the error:
note period '.' in index name. Apparently couchbase does not like it.
It probably could either replace '.' with '_' and/or, use index name provided in the annotation?
I can create the index manually through couchbase admin webapp if index name was acceptable.
The code is in CouchbasePersistentEntityIndexResolver createCompositeQueryIndexDefinitions method. As you cen see it appends field name and does not consider annotation index name.
The text was updated successfully, but these errors were encountered: