Choupachou Posted December 8, 2014 Share Posted December 8, 2014 Bonjour, Je rencontre un petit problème, l'esperluette "&" n'est pas indexé, donc quand les clients recherchent des articles de marque H&M ou C&A, cela n'aboutit pas Comment résoudre ce petit soucis qui est bien handicapant ! Link to comment Share on other sites More sharing options...
tuk66 Posted December 8, 2014 Share Posted December 8, 2014 Ce est une chose technique. Indexation se fait dans le fichier /classes/Search.php, sanitize() méthode. Définit PREG_CLASS_SEARCH_EXCLUDE, PREG_CLASS_NUMBERS, PREG_CLASS_PUNCTUATION sont utilisés. Ampersand "&" valeur hexadécimale est de 26, x{26}. Donc, ce est l'endroit pour jouer avec elle. It is a technical thing. Indexation is done in /classes/Search.php file, sanitize() method. PREG_CLASS_SEARCH_EXCLUDE, PREG_CLASS_NUMBERS, PREG_CLASS_PUNCTUATION defines are used. Ampersand "&" hex value is 26, x{26}. So this is the place to play with it. Link to comment Share on other sites More sharing options...
Choupachou Posted December 8, 2014 Author Share Posted December 8, 2014 Merci, comment procéder svp ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now