From 5fe782772472914ce454198e5a6f3b40e2ecdb69 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 17 Jan 2019 21:38:30 +0100 Subject: For comptabilty with search don't show match elements --- sphinx/sphinx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': '', 'after_match':'', 'chunk_separator': '...', 'limit': 400, 'around': 15} + opts = {'before_match': '', 'after_match':'', 'chunk_separator': '...', 'limit': 400, 'around': 15} index = 'datas' response = [] -- cgit v1.2.1