mushino Posted April 25, 2014 Share Posted April 25, 2014 (edited) Hello everyone, I've a problem with search in prestashop 1.6. When I search in a title with more than 70 characters, I have NO RESULTS in my search key is collocated after the 70th caracter... How can I solve this problem? Thanks Edited April 27, 2014 by mushino (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 25, 2014 Share Posted April 25, 2014 hello as far as i remember prestashop has got constant PS_SEARCH_MAX_WORD_LENGTH it defines max length of word to search but in fact, value of this constant is 15 you can change it in classes/Search.php at the top of this file Link to comment Share on other sites More sharing options...
mushino Posted April 26, 2014 Author Share Posted April 26, 2014 Hello, thanks for your reply, but, PS_SEARCH_MAX_WORD_LENGTH is for lenght of keyword in search module. I need to search item in title of products, collocated over the 70th position. For ex: Decolletè Spuntate Zeppa Scarpe Donna Decoltè Tacco Strass High Heels TL-10 if I search TL-10 I've No results. I don't know if is the same problem, but in Back Office, Catalog->Product, in SEO filed, this title have lenght -5 (see pics) Link to comment Share on other sites More sharing options...
mushino Posted April 27, 2014 Author Share Posted April 27, 2014 OK, I found solution in this recent topic. http://www.prestashop.com/forums/topic/322995-search-box-not-working-good/?hl=%2Bsearch+%2Bproblem&do=findComment&comment=1636275 Link to comment Share on other sites More sharing options...
Recommended Posts