Explorar el Código

高亮所有变格词

visuddhinanda hace 4 años
padre
commit
9bb1c13f68
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/search/paliword_sc.php

+ 2 - 2
app/search/paliword_sc.php

@@ -63,8 +63,8 @@ if (count($arrWordList) > 1) {
         full_text_search_weighted_unaccent,
         websearch_to_tsquery('pali_unaccent', ?))
     AS rank,
-    ts_headline('simple', content,
-                 websearch_to_tsquery('simple', ?),
+    ts_headline('pali', content,
+                 websearch_to_tsquery('pali', ?),
                  'StartSel = <highlight>, StopSel = </highlight>')
     AS highlight,
     book,paragraph,content