refactor indexing of attractions for dom_id
refactor attractions into partial