On multiple index usage in ArangoDB
问题 Having a document of a following structure: { path: String, enabled: Long, disabled: null || Long, // other fields... } I would like to look the documents up by a combination of path's prefix and numerical relation between some number and document's timestamps: (pseudocode) SELECT e FROM entries WHERE e.path STARTS WITH "somePrefix" AND e.enabled <= timestamp AND ( e.disabled == null OR timestamp < e.disabled ) What index structure will I benefit from the most, if any? Should I have a non