Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-10-17 12:59:13

Eri
Member
Registered: 2011-03-18
Posts: 977

[FIXED/ADDED IN 1.2.0] mobile search 3 letters

I am trying to search for "hot" "sex" on mobile and says that "No videos found!"

Also it is possible to make search more complex in order? to have top rated, most popular etc links after search is made and videos are more than 30.


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#2 2014-10-17 13:59:38

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: [FIXED/ADDED IN 1.2.0] mobile search 3 letters

Indeed fulltext search minimum word limit is 4 by default in mysql.
This can be changed by setting
ft_min_word_len = x; 
in mysql conf file.
Mysql service must be restarted then, tables reindexed.
When reindexing 'video' table or any other (function REPAIR) strongly suggested is to backup table, or copy it under some other name, just to use copy in case something goes wrong.

Mysql configuration is usually in "/etc/my.cnf"

There should be "[mysqld]" block with other parameters
This is place where ft_min_word should be placed,eg.
ft_min_word_len = 2; 

If there is also [myisamchk] block, same can be set as well inside it.

Last edited by Nuevolab (2014-10-17 14:16:52)

Offline

#3 2014-10-17 15:39:28

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED/ADDED IN 1.2.0] mobile search 3 letters

Yes,its possible to have full text search and sphinx in mobile. Will be in next version.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB