Giter Club home page Giter Club logo

Comments (6)

weareoutman avatar weareoutman commented on July 22, 2024

I can't reproduce this issue, could you please describe how to reproduce it?

from docusaurus-search-local.

mocon11 avatar mocon11 commented on July 22, 2024

Thanks for the response.
I can type in the string I want to search for ('Document' for example). If I do not hit the return key I get a full search of the site with the word 'document' as expected and I can select any one of these and it works perfectly. However when I hit the enter key after putting in the search string 'document' the results page will then return 'This page isn't working' ERR_TOO_MANY_REDIRECTS...
In the address bar for the webpage it keeps appending a / to the search.

https://WEBSITENAMEREMOVED/search?q=document//////////////////////////////////////////////////////

We can add some verbage to the search to say not to hit the enter key, but if this can be fixed, I would rather do that.

from docusaurus-search-local.

weareoutman avatar weareoutman commented on July 22, 2024

Um, this maybe a browser compatibility issue, I can't reproduce it on the example site using Chrome v89 and Safari v14 on my Mac. What's your os system and browser?

from docusaurus-search-local.

weareoutman avatar weareoutman commented on July 22, 2024

Try v0.15.1

from docusaurus-search-local.

mocon11 avatar mocon11 commented on July 22, 2024

This is the config of our usage. Have I missed anything?
plugins: [
[require.resolve("@easyops-cn/docusaurus-search-local"), {
highlightSearchTermsOnTargetPage: true,
indexPages: false,
indexDocs: true,
indexBlog: true,
docsRouteBasePath: ["docs/cloud-hosting", "docs/collaboration", "docs/virtual-server", "docs/kubernetes", "docs/open-shift", "docs/database", "docs/windows-provisioning", "docs/mac-provisioning", "docs/file-transfer",
"docs/IaC", "docs/job-control", "docs/loggging", "docs/middleware", "docs/networking", "docs/security", "docs/storage", "docs/contact-us", "docs/faq", "docs/process-guidelines",
"docs/resources", "docs/faq", "docs/professional-services", "docs/iam/directory", "docs/iam/cryptographic-services", "docs/iam/hs-id", "docs/iam/miscellaneous", "docs/iam/one-healthcare-id",
"release-notes", "docs/big-data"
],
hashed: true,
}]

from docusaurus-search-local.

weareoutman avatar weareoutman commented on July 22, 2024

@mocon11 Have you tried v0.15.1 which should fix it? If the problem is still, feel free to reopen this issue.

from docusaurus-search-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.