Organizing Sources
How you structure and prioritize your sources affects the quality of Context42’s search results.
Recommended structure
Separate your documentation into distinct sources by purpose:
# Personal coding standards — highest priority
c42 add ./standards --name my-standards --priority 0.9
# Team/project conventions
c42 add ./team-guidelines --name team --priority 0.7
# Reference documentation
c42 add ./api-docs --name api-reference --priority 0.4
# Examples and tutorials
c42 add ./examples --name examples --priority 0.3
Tips
- Keep sources focused. One directory per topic is better than one giant folder.
- Use meaningful names. The
--nameflag helps you identify sources inc42 list. - Re-index after changes. Run
c42 indexafter adding, removing, or modifying source files. - Review with search. Use
c42 search "your query"to test that results match your expectations.
Managing sources
List all sources:
c42 list
Remove a source:
c42 remove api-reference
Check indexing status:
c42 status