Comments (3)
Any suggestion how this should be implemented?
Because the results could be sorted by relevancy and not by hierarchy, how should the items be added to the popup? Would the headers be duplicated?
F.e with query 'createdAt key' on the meilisearch documentation:
---- First 5 results ----
- API reference - Keys - Key object - createdAt
- API reference - Keys - Get all keys - Example
- API reference - Keys - Create a key - Example
- API reference - Keys - Get all keys
- Security and permissions - Master key and API keys - Using the master key to manage API keys - Listing API keys
--- Next 5 results ---
- Security and permissions - Master key and API keys - Communicating with a protected instance - Using default API keys for authorization
- Security and permissions - ...
- Cookbooks Deployment - ...
- API reference - Indexes - Index object <- How should this result be displayed in the popup?
- Configuration - ...
from docs-searchbar.js.
Because the results could be sorted by relevancy and not by hierarchy, how should the items be added to the popup? Would the headers be duplicated?
This is a very good point you are raising @ColinFrick. There is also the issue that scrolling would conflict with scrolling on the page itself.
I checked how algolia handles it and they did not add the scrolling possibility. See example
This might not be a very good idea after all.
from docs-searchbar.js.
I'm closing this as it is not a good idea!
from docs-searchbar.js.
Related Issues (20)
- Make a clear explaination of what the repo does at the start of the readme
- Cypress tests should not work with a remote MeiliSearch instance HOT 2
- Question: search bar's cardinality with indexes HOT 2
- Update of the URL linking to the SVG of the `Meilisearch` part appearing in `Powered by ..` HOT 3
- Fix playground HOT 3
- MeiliSearchCommunicationError HOT 4
- Remove support for node 12 and ensure support for node 18
- React based SDK HOT 2
- Allow the docs-searchbar to be invoked using keyboard shortcut HOT 2
- Add a configuration to display searchbar in a modal HOT 9
- Update image inside of README with latest Meilisearch logo HOT 4
- Text in backticks does not appear in search results HOT 6
- Add Shadow Dom support
- Fix README table of contents links HOT 2
- Add a Scroll To Top Button HOT 2
- Auto search when search input has content and actived HOT 11
- Dynamically change index HOT 2
- Does it support Multi-index search? HOT 2
- New Docsearch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs-searchbar.js.