BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Predictive Search

Open cooter2 opened this issue 6 years ago • 6 comments

Add predictive search to the search bar in BookStack (similar to when searching google or other systems that search on the fly).

This feature may help users by driving the to the proper search terms based on what they start typing. Google is the obvious example of this, but it is also in Cisco Prime and some other tools I use, find it very helpful when searching.

cooter2 avatar Jan 23 '19 18:01 cooter2

Would be very helpful!

over-soul avatar Sep 07 '19 10:09 over-soul

TNTSearch is a full-text search engine written in PHP that provides this feature.

mardukbp avatar Dec 24 '20 20:12 mardukbp

Any progress? I tried to do it through adding a component. But it looks like themes folder don't support custom js files.

NikoVonLas avatar Jan 15 '22 13:01 NikoVonLas

Would be very helpful!

tobsik avatar Jan 31 '22 18:01 tobsik

I would like to add my interest for both predictive search terms, but also live search results as you type in the search field. Both of these functions are very useful and modern from a UX perspective, generally increasing operational efficiency. If we could get both of these aspects roadmapped I think it would be worthwhile. Any chance we can get these roadmapped?

I'm tagging in the live search results into this since #3290 was closed as duplicate to this ticket (#1235).

BloodyIron avatar Apr 18 '22 20:04 BloodyIron

Considering this original request was made Jan 2019, is this feature request on the roadmap in any way? I see that @ssddanbrown is active about closing dupes of this, so I'm hoping yes ;) Are there any roadblocks on this getting implemented?

BloodyIron avatar Aug 18 '22 23:08 BloodyIron

@ssddanbrown

I noticed when inserting links on pages there is a live-search: CleanShot 2022-10-21 at 22 51 54

I'd love to see that in the main search bar on the top or can I enabled this already?

Thanks a lot for your work! Awesome daily tool for me :)

florian-obradovic avatar Oct 21 '22 20:10 florian-obradovic

There's an element of conflation in regards to exactly what this thread is asking for. There's:

  • Live prediction of search term/phrase
  • Live prediction/preview of search results

The original request could apply to either. Via other issues and requests my general feeling was that prediction/preview of search results was more often desired, at that would also be the most reasonable to technical implement since we don't store term ordering in our search index. Therefore I built this in as part of PR #3850 to be part of the next feature release.

If actual search term prediction was desired, this can be re-requested via a new issue where the benefits and requirement can be explained but, with it being on a technically different level to implement in a useful way, it'd be less likely for implementation anytime soon.

ssddanbrown avatar Nov 23 '22 00:11 ssddanbrown