Changeset 52064 in spip-zone


Ignore:
Timestamp:
Sep 29, 2011, 8:16:12 PM (8 years ago)
Author:
gilles.vincent@…
Message:

ameliorer la pertinence si la recherche contient un espace (et encore, devient inutile si on a beaucoup de documents)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/fulltext/inc/recherche_to_array.php

    r50704 r52064  
    138138                        $i++;
    139139                        if ($mkeys = fulltext_keys($jtable, 'obj'.$i, $serveur)) {
    140                                 $score[] = "SUM(MATCH(".implode($mkeys,',').") AGAINST ($p".($boolean ?' IN BOOLEAN MODE':'')."))";
     140                                $score[] = "SUM(MATCH(".implode($mkeys,',').") AGAINST ($pe".($boolean ?' IN BOOLEAN MODE':'')."))";
    141141                                $_id_join = id_table_objet($jtable);
    142142                                $table_join = table_objet($jtable);
Note: See TracChangeset for help on using the changeset viewer.