Title: Autocomplete?
Last modified: August 31, 2016

---

# Autocomplete?

 *  Resolved [someonehere15](https://wordpress.org/support/users/someonehere15/)
 * (@someonehere15)
 * [10 years ago](https://wordpress.org/support/topic/autocomplete-6/)
 * Great plugin, but does relevanssi support autocomplete? I mean e.g. to show a
   list of post titles to directly choose from the search bar, or auto suggested
   words like google. If not, any chance you’ll be adding it soon?
    I don’t want
   to add another plugin to my site.
 * [https://wordpress.org/plugins/relevanssi/](https://wordpress.org/plugins/relevanssi/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [10 years ago](https://wordpress.org/support/topic/autocomplete-6/#post-7303622)
 * SearchWP Live Ajax Search works with Relevanssi. Autocomplete is not coming to
   Relevanssi, at least not in the near future, so that’s your best bet at the moment.
 *  [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/autocomplete-6/#post-8259421)
 * Hello,
 * I need also this feature. I would like to develop it for relevanssi. Here’s how
   I would like to do it :
    - If someone begins to type a word in the serach box (after 3 characters for
      instance), an ajax request is sent (I will use jQuery for that)
    - The php file launched will have a look to the wp_relevanssi table and find
      the words beginning with the typed characters
    - each time a character is added, the same request is done, the list of suggestion
      is each time updated.
 * Is this the best way to do it?
 * Thanks in advance.
    -  This reply was modified 9 years, 7 months ago by [jojaba](https://wordpress.org/support/users/jojaba/).
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/autocomplete-6/#post-8263776)
 * Yes, that’s a way you can do that. I personally prefer showing search results
   instead of completing words, but if that’s what you want, this is the way I’d
   do it.
 *  [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/autocomplete-6/#post-8267027)
 * Thanks for that answer Mikko.
    How about first getting all the words in the relevanssi
   table (php), and keep them in an JS array for all pages? this would avoid the
   multiple ajax requests and save bandwidth don’t you think? Or is it a bad idea
   because the list of words is probably too big?
    -  This reply was modified 9 years, 7 months ago by [jojaba](https://wordpress.org/support/users/jojaba/).
 *  [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/autocomplete-6/#post-8267069)
 * I just found a nice tool made By Lea Verou, called Awesomplete. I really like
   what she does, it is mostly simple and lightweight. I usually don’t like dependencies(
   except if it is loaded by default like jQuery for WordPress), but for Lea’s work
   I make an exception without worrying. 😉
    [Awesomplete page](https://leaverou.github.io/awesomplete).
   Using this widget, I will have options for the words load :
    - loading the list on server side before page is sent to the browser,
    - or loading with ajax technlogy.
 * Your opinion?
    -  This reply was modified 9 years, 7 months ago by [jojaba](https://wordpress.org/support/users/jojaba/).
    -  This reply was modified 9 years, 7 months ago by [jojaba](https://wordpress.org/support/users/jojaba/).
 *  [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/autocomplete-6/#post-8309864)
 * Done 😉
    [https://wordpress.org/plugins/autocomplete-for-relevanssi/](https://wordpress.org/plugins/autocomplete-for-relevanssi/)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Autocomplete?’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)

 * 6 replies
 * 3 participants
 * Last reply from: [jojaba](https://wordpress.org/support/users/jojaba/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/autocomplete-6/#post-8309864)
 * Status: resolved