"Do I want to see this atom in a search result?"
If the answer is no, disable indexing for this atom. After you disable the indexing for an atom, search can't find any results for that atom. Here is how to change the config to disable the indexing for your atoms:
- Iterate all of your atoms.xml under your components. Change
indexinghint="ignore"only for the atoms that you want to disable indexing.
- Iterate all of your csd.xml files and do the same.
- Delete your component hierarchy files under your templates to force csd.xml files to be rebuilt
- Stop your instance.
- Delete the cq_home/data/your_instance/search/fulltext folder.
- Start your instance. Restart can take a while depending on your content size, since Lucene reindexes the content.