Przeglądaj źródła

高亮所有变格词

visuddhinanda 4 lat temu
rodzic
commit
9bb1c13f68
1 zmienionych plików z 2 dodań i 2 usunięć
  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,
         full_text_search_weighted_unaccent,
         websearch_to_tsquery('pali_unaccent', ?))
         websearch_to_tsquery('pali_unaccent', ?))
     AS rank,
     AS rank,
-    ts_headline('simple', content,
-                 websearch_to_tsquery('simple', ?),
+    ts_headline('pali', content,
+                 websearch_to_tsquery('pali', ?),
                  'StartSel = <highlight>, StopSel = </highlight>')
                  'StartSel = <highlight>, StopSel = </highlight>')
     AS highlight,
     AS highlight,
     book,paragraph,content 
     book,paragraph,content