[GH-ISSUE #1311] Instant Search, algolia API key constant needs to be updated. #759

Closed
opened 2026-02-26 02:34:11 +03:00 by kerem · 2 comments
Owner

Originally created by @kroyoo on GitHub (Apr 28, 2021).
Original GitHub issue: https://github.com/koel/koel/issues/1311

Describe the bug
Instant Search:algolia

SCOUT_DRIVER=algolia
ALGOLIA_APP_ID=<your-algolia-app-id>
ALGOLIA_APP_ID=<your-algolia-secret>

You cannot use algolia this search because both fields are the same “ALGOLIA_APP_ID”, So what is its correct field?

image

image

Digression

What should I do if I change the search engine?

Originally created by @kroyoo on GitHub (Apr 28, 2021). Original GitHub issue: https://github.com/koel/koel/issues/1311 **Describe the bug** Instant Search:algolia ``` SCOUT_DRIVER=algolia ALGOLIA_APP_ID=<your-algolia-app-id> ALGOLIA_APP_ID=<your-algolia-secret> ``` You cannot use algolia this search because both fields are the same “ALGOLIA_APP_ID”, So what is its correct field? ![image](https://user-images.githubusercontent.com/61957721/116347604-c3ba2500-a7a9-11eb-86bc-d814a7850626.png) ![image](https://user-images.githubusercontent.com/61957721/116347645-d3d20480-a7a9-11eb-8593-41cc4a1bd41c.png) ## Digression What should I do if I change the search engine?
kerem 2026-02-26 02:34:11 +03:00
Author
Owner

@BrookeDot commented on GitHub (May 6, 2021):

Hi there,

Looks like you'll want to use ALGOLIA_SECRET for the API key
github.com/koel/koel@d9c2f9f368/config/scout.php (L103)

I went ahead and created a PR for this change here:
https://github.com/koel/docs/pull/24

<!-- gh-comment-id:833146970 --> @BrookeDot commented on GitHub (May 6, 2021): Hi there, Looks like you'll want to use `ALGOLIA_SECRET` for the API key https://github.com/koel/koel/blob/d9c2f9f3680ab7d7e667d7c22fb55f112ebd5ea4/config/scout.php#L103 I went ahead and created a PR for this change here: https://github.com/koel/docs/pull/24
Author
Owner

@phanan commented on GitHub (May 7, 2021):

Indeed! Thanks for reporting. Closing via koel/docs#24.

<!-- gh-comment-id:834756914 --> @phanan commented on GitHub (May 7, 2021): Indeed! Thanks for reporting. Closing via koel/docs#24.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#759
No description provided.