bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
53 stars 6 forks source link

Algolia - Fuzzier search #10021

Open isglass opened 2 weeks ago

isglass commented 2 weeks ago

Searching for "drag columns" in TaskBoard finds the ColumnDrag feature, but searching for "dragging columns" does not.

ghulamghousdev commented 2 weeks ago

Search React Guid in Grid shows Remix Guide as first result:

Screenshot 2024-09-12 at 4 19 34 PM
kronaemmanuel commented 2 weeks ago

From @ExtAnimal : Search results which have the same search term for many products should sort the current product to the top. So if you and in Calendar docs and search for "renderer", the renderers that are documented in calendar classes should sort to the top of the list

kronaemmanuel commented 1 week ago

For @isglass 's suggestion: it is not easy to define that "dragging" and "drag" are equivalent unless we also manually input that as synonyms. I don't want to do that just yet, because it could effect other things. After we have gotten some data with actual user searches however, we can analyze and see if there are words which people input and don't find meaningful results from. And then we can put in synonyms for those words that would lead them to the right results.

kronaemmanuel commented 1 week ago

For @ghulamghousdev 's suggestion: I have now tweaked the settings so that quickstart guides have a higher priority so more chance of appearing on top. Also have fixed the React/Remix being given same priority thing. image

kronaemmanuel commented 1 week ago

For @ExtAnimal 's suggestion, I have added a new attribute that we use to rank records in algolia. It's called productRelevance, and it works exactly how it sounds. Records related to the product are ranked higher. So now we have this: image