Skip to content

Commit 5be5123

Browse files
committed
move to prod keys
1 parent ff5fec8 commit 5be5123

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/build-search.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ on:
44
pull_request:
55
types:
66
- closed
7-
- opened
8-
- synchronize
9-
- reopened
107
env:
118
PYTHONUNBUFFERED: 1 # Force the stdout and stderr streams to be unbuffered
129

1310
jobs:
1411
update-search:
15-
#if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'update search')
16-
if: contains(github.event.pull_request.labels.*.name, 'update search') # Updated to trigger directly on PRs with the label
12+
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'update search') && github.event.pull_request.base.ref == 'main'
13+
#if: contains(github.event.pull_request.labels.*.name, 'update search') # Updated to trigger directly on PRs with the label
1714
runs-on: ubuntu-latest
1815

1916
steps:
@@ -34,8 +31,8 @@ jobs:
3431
- name: Run Indexer
3532
run: yarn run-indexer
3633
env:
37-
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY_DEV }}
38-
ALGOLIA_APP_ID: 7AL1W7YVZK
34+
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
35+
ALGOLIA_APP_ID: 5H9UG7CX5W
3936

4037
- name: Verify Completion
4138
run: echo "All steps completed successfully!"

scripts/search/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ options:
3131

3232
## Results
3333

34-
| **Date** | **Average nDCG** | **Results** | **Changes** |
35-
|------------|------------------|----------------------------------------------------------------------------------------------|--------------------------------------------------|
34+
| **Date** | **Average nDCG** | **Results** | **Changes** |
35+
|------------|------------------|--------------------------------------------------------------------------------------------------------|--------------------------------------------------|
3636
| 20/01/2024 | 0.4700 | [View Results](https://pastila.nl/?008231f5/bc107912f8a5074d70201e27b1a66c6c#cB/yJOsZPOWi9h8xAkuTUQ==) | Baseline |
3737
| 21/01/2024 | 0.5021 | [View Results](https://pastila.nl/?00bb2c2f/936a9a3af62a9bdda186af5f37f55782#m7Hg0i9F1YCesMW6ot25yA==) | Index `_` character and move language to English |
3838
| 24/01/2024 | 0.7072 | [View Results](https://pastila.nl/?065e3e67/e4ad889d0c166226118e6160b4ee53ff#x1NPd2R7hU90CZvvrE4nhg==) | Process markdown, and tune settings. |
3939
| 24/01/2024 | 0.7412 | [View Results](https://pastila.nl/?0020013d/e69b33aaae82e49bc71c5ee2cea9ad46#pqq3VtRd4eP4JM5/izcBcA==) | Include manual promotions for ambigious terms. |
4040

41-
41+
Note: exact scores may vary due to constant content changes.
4242

4343
## Issues
4444

0 commit comments

Comments
 (0)