Welcome! Log In Create A New Profile

Advanced

Auto suggestion help

Posted by mshah 
Auto suggestion help
November 25, 2017 10:08PM
Hi I am new to Sphider,

My auto suggest doesnot work at all

Here are the steps that i did to make auto suggestion work:
Added the Javascript src to header( though still there):
<style type="text/css">@import url("include/js_suggest/SuggestFramework.css"winking smiley;</style>
<script type="text/javascript" src="include/js_suggest/SuggestFramework.js"></script>
<script type="text/javascript">window.onload = initializeSuggestFramework;</script>

Changed the path of suggest.php to where conf and database files are:
require_once('/srv/www/htdocs/sphider/settings/database.php');
require_once('/srv/www/htdocs/sphider/settings/conf.php');

Enabled the auto suggestion settings in config to 1

Please help me what else do I need to do or step by step infor would be great

Thanks in advance



Edited 1 time(s). Last edit at 11/26/2017 01:13PM by mshah.
Re: Auto suggestion help
November 26, 2017 05:30PM
Help required please @Tec / @RAP
rap
Re: Auto suggestion help
November 26, 2017 05:59PM
Sphider is quite old and no longer supported.

However, I have an updated Sphider in which, among the many changes, the auto suggest feature has been rewritten and does function nicely.

Tec also has an updater version, Sphider_Plus. While I cannot speak for Tec, I have to believe he has also made improvements to auto suggest as he has to other Sphider features. He has added new functionality as well.

Both Sphider-Plus and my updated Sphider are also updated to work with later versions of PHP up to and including PHP 7.1, which will eliminate code deprecation errors and, in the case of the latest PHP versions, complete failure.

I would urge you to go with an updated Sphider, either Sphider-Plus or my latest alternative.
Tec
Re: Auto suggestion help
November 27, 2017 03:13PM
Yes, Sphider-plus is updated to work correctly for the 'Auto suggest' feature.
Meannwhile based on an up to date jQuery script, additionally the following features are offered:

- Define minimum count of query letters in order to get a suggestion.
- Search for suggestions in query log.
- Search for suggestions in keywords.
- Build suggestions also for 'Phrase' search.
- Obey the list of words not to be suggested.
- For 'Media' search get suggestions also from EXIF info and ID3 tags.

Tec
Sorry, only registered users may post in this forum.

Click here to login