HelpHub
HelpHub copied to clipboard
Search functionality
WordPress has a decent built-in search, but it might be a good idea to look into how we can improve that. There are plugins that improve the default WordPress search (the ones that come to mind are SearchWP and Relevanssi), so it might be good to investigate an option like that, or look into building an enhanced search ourselves as the search functionality is very important to achieving HelpHub's goals.
Agreed! This for sure will be the heaviest used feature in the entire system IMO. From my understanding search functionality searches 3 areas with a match type check. Title, Content and Excerpt are default where adding CPT is easy enough.
I would caution using non core plugins for such a solid support beam in this project. We can keep this light weight and make it do exactly what we what. I opt for in-house on this one.
I would love to see an Ajax-enabled 'Suggested Search'
Clueless users really won't know what terms to search for.
Auto complete on titles only (maybe more fields later) to conserve energy but I definitely think we should have some sort of autocomplete as well.
+1 to everything suggested so far :smile:
I am holding off on this template until we get some more styles and templates in place.
EDITED: I would like to get the actual content / CPT / Taxonomy structure in place before moving on this.
@justingreerbbi I added a widget area after the homepage page title to be utilized the search functionality https://github.com/hlashbrooke/HelpHub/pull/22 ,please let me know if that would suffice for the homepage
@carl-alberto Thanks. I am starting on this portion here shortly and your widget area will come in handy.
Working on this, I am at a fork in the road. Are we looking for something like http://polarblau.github.io/suggest/? Maybe we do a standard autocomplete. I am a big fan of simple stupid but standard autocomplete is also an option.
Suggestions with examples would be awesome. My fallback will be to using the suggest script in WP core.
@justingreerbbi jQuery.suggest seems to only take the first related term to help with auto complete.
I want to really suggest actual search terms via that text box. Think Amazon
Agreed. I have an auto complete example in https://github.com/hlashbrooke/HelpHub/tree/feature-search right now. It is very basic and returns based on the title of articles. I am going to browse the articles we have and see what terms/cats other fields we have at our expense to make it better.
I am also looking for a relativity factor so we can show based on relativity to the input terms and not list all articles returned. If anyone has ideas, please feel free to share.
Tagging this as maybe later, Jetpack now includes ES for searches, and it's slowly being rolled out to various parts of WordPress.org.
For now, as we're a part of the support subsite, all searches there are directed through Google for performance reasons, so let's not put too much effort in here at this time.
Now that HelpHub will land on /support this will use the proposed search enhancements as part of https://meta.trac.wordpress.org/ticket/3388, removed maybe later because of this
@ntwb imo while enabling an ES instance or indexing will certainly help this endeavour on meta, getting it working to an acceptable level would still require a fair bit of work on both the ES side and the front end area.
Does HelpHub already have Jetpack enabled on it yet. If so then you can just turn on Jetpack Search and add a search filtering to the sidebar: https://jetpack.com/support/search/
Customizing the algorithm may take a bit extra work, but just turning it on and configuring it should be pretty easy.
HelpHub is going to live on wordpress.org/support, so it will have the "good search" when it's introduced for the support forums as well.
We may want to weight it so that articles are prioritized above forum results at taht time, but it's not the biggest concern for phase 1 which is just getting content out in a better and curated format.