Sfoglia il codice sorgente

高亮所有变格词

visuddhinanda 4 anni fa
parent
commit
9bb1c13f68
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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