--- a/src/ldt/ldt/ldt_utils/utils.py Mon Jul 30 19:46:40 2012 +0200
+++ b/src/ldt/ldt/ldt_utils/utils.py Tue Jul 31 02:27:09 2012 +0200
@@ -1,6 +1,5 @@
from copy import deepcopy
from django.conf import settings
-from ldt.indexation import get_results_list
from django.utils.translation import ugettext as _
from StringIO import StringIO
import datetime
@@ -37,18 +36,6 @@
def generate_uuid():
return unicode(uuid.uuid1())
-class LdtSearch(object):
-
- def query(self, field, query):
- hits = get_results_list(field, query)
-
- res = []
- for hit in hits:
- res.append(hit.get_stored_fields())
- return res
-
- def query_all(self, query):
- return self.query("all", query)
class LdtUtils(object):