src/server/pkg/collection/collection.go
func (c *collection) indexPath(index *Index, indexVal interface{}, key string) string {
	return path.Join(c.indexDir(index, indexVal), key)
}
func (c *collection) indexPath(index *Index, indexVal interface{}, key string) string {
	return path.Join(c.indexDir(index, indexVal), key)
}
// See the documentation for `Index` for details.