diff options
author | neodarz <neodarz@neodarz.net> | 2019-01-17 21:38:30 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-01-17 21:38:30 +0100 |
commit | 5fe782772472914ce454198e5a6f3b40e2ecdb69 (patch) | |
tree | 15e80d50a4aca9ae6273b6a64398787c3e773d28 /sphinx | |
parent | 202509f26901033476c7e68422e444184f73ab4c (diff) | |
download | khanindexer-5fe782772472914ce454198e5a6f3b40e2ecdb69.tar.xz khanindexer-5fe782772472914ce454198e5a6f3b40e2ecdb69.zip |
For comptabilty with search don't show match elements
Diffstat (limited to 'sphinx')
-rw-r--r-- | sphinx/sphinx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/sphinx.py b/sphinx/sphinx.py index 88f4733..b0886d2 100644 --- a/sphinx/sphinx.py +++ b/sphinx/sphinx.py @@ -16,7 +16,7 @@ def search(request): if status != None: res = sphinxclient.Query(request) - opts = {'before_match': '<b>', 'after_match':'</b>', 'chunk_separator': '...', 'limit': 400, 'around': 15} + opts = {'before_match': '', 'after_match':'', 'chunk_separator': '...', 'limit': 400, 'around': 15} index = 'datas' response = [] |