aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-01-17 21:38:30 +0100
committerneodarz <neodarz@neodarz.net>2019-01-17 21:38:30 +0100
commit5fe782772472914ce454198e5a6f3b40e2ecdb69 (patch)
tree15e80d50a4aca9ae6273b6a64398787c3e773d28
parent202509f26901033476c7e68422e444184f73ab4c (diff)
downloadkhanindexer-5fe782772472914ce454198e5a6f3b40e2ecdb69.tar.xz
khanindexer-5fe782772472914ce454198e5a6f3b40e2ecdb69.zip
For comptabilty with search don't show match elements
-rw-r--r--sphinx/sphinx.py2
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 = []