Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Jest search is not working #486

Closed
endiliey opened this issue Jul 6, 2018 · 4 comments
Closed

Jest search is not working #486

endiliey opened this issue Jul 6, 2018 · 4 comments

Comments

@endiliey
Copy link
Contributor

endiliey commented Jul 6, 2018

Do you want to request a feature or report a bug?

Bug

If it is a DocSearch index issue, what is the related index_name ?

index_name=jest

What is the current behaviour?

jestjs/jest#6640
Search is not working

What is the expected behaviour?

Search is working

Any quick clues?

Previously it was working. When we update our docs to 23.3 it suddenly stop on working.

result is ok

@endiliey
Copy link
Contributor Author

endiliey commented Jul 6, 2018

Seems that it has finished scraping and now it works.

@endiliey endiliey closed this as completed Jul 6, 2018
@s-pace
Copy link
Contributor

s-pace commented Jul 6, 2018

Indeed @endiliey

Please note that you need to update facetFilters from older version. It is working fine on the latest one but older version page are not update:

Example:
See DocSearch's snippet for
https://jestjs.io/docs/en/22.2/getting-started.html

              var search = docsearch({
                
                apiKey: '833906d7486e4059359fa58823c4ef56',
                indexName: 'jest',
                inputSelector: '#search_input_react',
                algoliaOptions: {"facetFilters":["language:en","version:23.3"]}
              }); 

The search from these pages will looks into latest content and redirect to the latest version pages.

@endiliey
Copy link
Contributor Author

endiliey commented Jul 6, 2018

@s-pace
I have submitted jestjs/jest#6644 for that. Going to merge soon

search according to version

@s-pace
Copy link
Contributor

s-pace commented Jul 6, 2018

Perfect thanks

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

No branches or pull requests

2 participants