Enterprise Search¶
Overview¶
Enterprise Search turns your team's knowledge into instant answers. Ask a question in plain language, and CodeCortex answers from the documents, videos, and tickets your team has connected, with the source of each answer.
Use it to:
- Find answers in design docs, runbooks, and decision records.
- Learn what was explained in a recorded walkthrough, without rewatching it.
- Understand why something was built the way it was, from the Jira history.
- Help new developers get answers on their own, from day one.
Enterprise Search works with these sources:
-
Google Drive
Design docs, runbooks, specs, and ownership sheets. -
OneDrive
Setup guides, decision records, and runbooks. -
YouTube
Architecture walkthroughs, deep dives, and recorded demos.
Jira
Issues, with their descriptions and comments.
Prerequisites¶
Step 1: Set Up CodeCortex¶
Set up CodeCortex by following the Overview guide.
Step 2: Check Your Role¶
Workspace and product admins connect sources and choose what to index. Everyone with access to CodeCortex can ask questions.
Connect Your Tools¶
Connect each source once, and choose exactly what to include. You can do this in the setup wizard, or later from Integrations in the CodeCortex sidebar.
| Source | How you connect | What you choose | Details |
|---|---|---|---|
| Google Drive | Sign in with Google. CodeCortex gets read-only access. | Folders and files | Connect Google Drive |
| OneDrive | Sign in with Microsoft. | Folders and files | Connect OneDrive |
| YouTube | Sign in with the Google account that owns your channel. | Videos | Connect YouTube |
| Jira | Install the CloudAEye app in Jira. | Projects | Connect Jira |
When an item shows Indexed on its source page, it's ready to search. See Indexing Status.
Supported Content¶
| Source | You choose | What's searchable |
|---|---|---|
| Google Drive | Folders and files | Google Docs, Sheets, and Slides; PDF and Word (.docx); Markdown, reStructuredText, and plain text; CSV, JSON, YAML, and XML |
| OneDrive | Folders and files | PDF and Word (.docx); Markdown, reStructuredText, and plain text; CSV, JSON, YAML, and XML |
| YouTube | Videos | What's said in each video, from its captions |
| Jira | Projects | Each issue's description and comments |
Ask a Question¶
Step 1: Open Search¶
In the CloudAEye console, select Search in the CodeCortex sidebar.
Step 2: Ask Your Question¶
Type your question in the box at the bottom of the page and press Enter. For example:
How are refunds retried when the payment provider times out?
CodeCortex searches all of your connected sources at once and answers in the conversation.
Step 3: Work with the Answers¶
- Copy an answer: Select the copy button on the answer.
- Find an earlier answer: Type in Filter conversation to show only the questions and answers that contain your text.
- Start over: Select the reset button next to the filter to clear the conversation.
Tips for Great Answers¶
- Use your team's terms. Ask about "the refund worker" if that's what your documents call it.
- Ask one thing at a time. "How do I run payments-service locally?" gets a more focused answer than a question about setup, deployment, and on-call together.
- Name the system or service. "How does the ledger handle partial refunds?" is more precise than "How are partial refunds handled?"
- Ask a follow-up to go deeper into any part of an answer.
Read the Answer¶
Every answer is written from your team's own content, and shows where each part came from:
Refunds retry up to three times with a two-second delay, then move to the refund queue for manual review (Google Drive). PROJ-412 tracks making the retry cap configurable (Jira).
| You see | What it means |
|---|---|
| A source next to a statement, such as Google Drive or Jira | Where that information comes from, so you can open the original. |
| Several sources in one answer | The answer brings together related information, for example a design doc and the ticket that changed it. |
Onboard New Developers¶
Point new developers to Enterprise Search from their first day, so they can find answers in the team's documents on their own. The explanations your team wrote, recorded, or discussed once keep answering.
| When | What they do | Example questions |
|---|---|---|
| First week | Learn the services, the local setup, and the architecture. | "What are the main services, and how do they talk to each other?" "How do I run payments-service locally?" |
| First change | Find the design doc, decision record, or incident review behind the code they're about to change. | "Why does the webhook handler keep a list of event IDs?" "Why do we use Postgres instead of DynamoDB?" |
| Ongoing | Find documents, owners, and runbooks instead of asking around. | "Which doc covers our deployment process?" "Who owns the ledger service?" |
Indexing Status¶
Each source page shows the status of every item you select:
| Status | Meaning |
|---|---|
| Not indexed | The item isn't selected. |
| Addition pending | You selected the item. Select Save changes to add it. |
| Removal pending | You cleared the item. Select Save changes to remove it. |
| Queued, Downloading, Downloaded, Processing, Indexing | The item is being prepared for search. |
| Indexed | The item is ready to search. |
| Failed | The item couldn't be added. Check that it's a supported type and isn't empty. |
| Reconnect and retry | The connection to the source needs to be renewed. Reconnect it from Integrations. |
| Unavailable | The status couldn't be shown. Select Retry. |
Change What Is Included¶
Workspace and product admins can change what Enterprise Search answers from at any time.
- Open Integrations in the CodeCortex sidebar, and open the source you want to change.
- Select the items to add, and clear the items to remove. The summary at the top shows how many items will be added and removed.
- Select Save changes. To undo your selections, select Discard changes.
- If you're removing items, confirm by selecting Remove and save changes.
Removing an item takes it out of Enterprise Search only. Your original files, videos, and tickets are never changed.
Troubleshooting¶
| Problem | What to do |
|---|---|
| An answer doesn't use a document you added. | Check that the document shows Indexed on its source page, then ask again using the document's own terms. |
| A file shows Failed. | Check that it's a supported type and isn't empty. |
| An item shows Reconnect and retry. | Reconnect the source from Integrations. |