OpenSearch Documentation Search
Search and fetch OpenSearch docs, blogs, and forum content.
Search
bash
python scripts/search.py docs "k-NN" python scripts/search.py blogs "performance" --limit 5 python scripts/search.py forum "cluster health"
Options: -v/--version (docs/blogs), -l/--limit, -o/--offset (docs/blogs)
Fetch Page Content
bash
python scripts/fetch.py "https://docs.opensearch.org/latest/vector-search/..." python scripts/fetch.py "https://opensearch.org/blog/unveiling-opensearch-3-0/"
Returns page content as Markdown. Requires trafilatura package.
Note: opensearch.org/docs/* redirects to docs.opensearch.org via JavaScript. Use the docs.opensearch.org URL directly (search results already return the correct URL).
Investigation Pattern
- •Search docs:
python scripts/search.py docs "{feature}" -v {version} - •Search blogs:
python scripts/search.py blogs "{feature}" - •Fetch full content:
python scripts/fetch.py "{url}" - •Save discovered URLs for References section