HSEARCH-809 Collection support
HSEARCH-809 Fix indent
Fixed categories indexing