Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cordova web page search is not working #1294

Open
3 tasks done
aaarichter opened this issue Apr 13, 2023 · 3 comments
Open
3 tasks done

cordova web page search is not working #1294

aaarichter opened this issue Apr 13, 2023 · 3 comments

Comments

@aaarichter
Copy link

aaarichter commented Apr 13, 2023

Bug Report

Problem

the search on https://cordova.apache.org/ is not working

What is expected to happen?

when entering a search term like android into the global search on https://cordova.apache.org/ I expect the search to return results

What does actually happen?

nothing, but a ? is added to the url

Information

Steps:

  1. go to https://cordova.apache.org/
  2. enter android into the search and hit enter

Command or Code

Environment, Platform, Device

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@erisu
Copy link
Member

erisu commented May 30, 2023

Additional Notes:

Per ticket #1287,

There is some network traffic to algolia.net while typing in the search box, but no results are shown.

Maybe there was a service change, API change, or some sort of outage with algolia.net. Will need to check with the service.

@kevinsturmanKT
Copy link

Had a look at the algolia.net api call. Interesting if you remove facetFilters from the params you do results back. Although then it's not scoping doc version and language.

Maybe the angolia SDK has changed recently, and isn't generating the correct REST request for the facetFilters?

algoliaOptions: { 'facetFilters': ["version: {{ version }}", "language: {{ language }}"] }

@kevinsturmanKT
Copy link

I've tried using docSearch v3, and the facetFilters still return no results. Which makes me think they're not setup correctly on the angolia dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants