is there a suggested convention for
is there a suggested convention for index names? (e.g.
by_token_identifer
vs. by_tokenIdentifer
for an index on tokenIdentifier
)5 Replies
just saw this example in the docs

so i'm guessing snake_case is preferred?
The default index is called "by_creation_time" but your own indexes can use camelCase if you want; the framework has no preference
for multi-field indexes (aka compound indexes) I like to delineate fields with underscores, so you could have
by_highestScore_someOtherField
whereas using underscores it becomes ambiguous where field boundaries arethat makes sense!