[GH-ISSUE #610] [FEATURE] No autocomplete request when autocomplete disabled #389

Closed
opened 2026-02-25 20:35:37 +03:00 by kerem · 4 comments
Owner

Originally created by @nakoo on GitHub (Jan 12, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/610

Describe the feature you'd like to see added
A short description of the feature, and what it would accomplish.

whoogle.env supports changing visibility of autocomplete. But this feature makes sense by making no /autocomplete request. This could help reducing the server load.

Additional context
Add any other context or screenshots about the feature request here.

2022-01-12_18-07

Originally created by @nakoo on GitHub (Jan 12, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/610 <!-- DO NOT REQUEST UI/THEME/GUI/APPEARANCE IMPROVEMENTS HERE THESE SHOULD GO IN ISSUE #60 REQUESTING A NEW FEATURE SHOULD BE STRICTLY RELATED TO NEW FUNCTIONALITY --> **Describe the feature you'd like to see added** A short description of the feature, and what it would accomplish. `whoogle.env` supports changing visibility of autocomplete. But this feature makes sense by making no `/autocomplete` request. This could help reducing the server load. **Additional context** Add any other context or screenshots about the feature request here. ![2022-01-12_18-07](https://user-images.githubusercontent.com/4975021/149197211-39ba1d19-fb32-42bb-b352-5bc121b0bd25.png)
kerem 2026-02-25 20:35:37 +03:00
Author
Owner

@Albonycal commented on GitHub (Jan 13, 2022):

so /autocomplete should be disabled when the ENV variable is set to 0 ?

<!-- gh-comment-id:1012077672 --> @Albonycal commented on GitHub (Jan 13, 2022): so `/autocomplete` should be disabled when the ENV variable is set to 0 ?
Author
Owner

@nakoo commented on GitHub (Jan 13, 2022):

so /autocomplete should be disabled when the ENV variable is set to 0 ?

The current implementation is no. It still requests /autocomplete even though the results don't show up.

<!-- gh-comment-id:1012081002 --> @nakoo commented on GitHub (Jan 13, 2022): > so `/autocomplete` should be disabled when the ENV variable is set to 0 ? The current implementation is no. It still requests `/autocomplete` even though the results don't show up.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 14, 2022):

I can implement this -- it's not that hard.

<!-- gh-comment-id:1012683509 --> @DUOLabs333 commented on GitHub (Jan 14, 2022): I can implement this -- it's not that hard.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 14, 2022):

#611 should fix this.

<!-- gh-comment-id:1012693121 --> @DUOLabs333 commented on GitHub (Jan 14, 2022): #611 should fix this.
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/whoogle-search#389
No description provided.