Skip to content

Nitrite/Java: Can not index on non comparable field #23

Answered by anidotnet
vSKAH asked this question in Q&A
Discussion options

You must be logged in to vote

Nitrite 3.x does not support compound index. As LiteLocation is a custom object containing multiple fields, creating index on it means creating a compound index on multiple fields. As nitrite 3.x does not support compound index, you are getting this error.

Having said it, nitrite 4.x will come with compound index support, stay tuned.

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@vSKAH
Comment options

@anidotnet
Comment options

Answer selected by anidotnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
nitrite-java Nitrite for Java
2 participants