You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -66,7 +62,7 @@ The preferred way to build and sync the search indices is to do so via the [GitH
66
62
### Actions workflow files
67
63
68
64
-[`.github/workflows/index-general-search.yml`](/.github/workflows/index-general-search.yml) - Populates search indices for **general search** using the `main` branch every four hours. Search indices are stored in an internal-only Elasticsearch instance. To run it manually, click "Run workflow" button in the Actions tab.
69
-
-[`.github/workflows/index-autocomplete-search.yml`](/.github/workflows/index-general-search.yml) - Populates search indices for both **general autocomplete** and **AI search autocomplete** using data from an internal repo. Runs daily.
65
+
-[`.github/workflows/index-autocomplete-search.yml`](/.github/workflows/index-general-search.yml) - Populates search indices for **AI search autocomplete** using data from an internal repo. Runs daily.
Copy file name to clipboardExpand all lines: src/search/scripts/index/README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,14 @@ In production, the indexing happens in the GitHub workflows: `index-autocomplete
10
10
11
11
Before running the indexing for **general search** you run the [scrape](../scrape/README.md) script to scrape page data into files.
12
12
13
-
Before running the indexing for **general autocomplete** and **AI search autocomplete** you need to clone [docs-internal-data](https://github.com/github/docs-internal-data) to the root of this directory.
13
+
Before running the indexing for **AI search autocomplete** you need to clone [docs-internal-data](https://github.com/github/docs-internal-data) to the root of this directory.
14
14
15
15
There is a separate run command for indexing each type of search data:
16
16
1.**general search**: `npm run index-general-search -- <scrape-directory>`
17
-
2.**general autocomplete**: `npm run index-general-autocomplete -- docs-internal-data` (if `docs-internal-data` is cloned to root directory)
18
-
3.**AI search autocomplete**: `npm run index-ai-search-autocomplete -- docs-internal-data` (if `docs-internal-data` is cloned to root directory)
17
+
2.**AI search autocomplete**: `npm run index-ai-search-autocomplete -- docs-internal-data` (if `docs-internal-data` is cloned to root directory)
19
18
20
19
To see the arguments accepted by any script, pass the `--help` argument, for example
0 commit comments