소스 검색

高亮所有变格词

visuddhinanda 4 년 전
부모
커밋
9bb1c13f68
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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