from catalogue.fields import dumps
from catalogue.views import JSONResponse
from catalogue import forms
-from search import MultiSearch, JVM, SearchResult
+from search import Search, JVM, SearchResult
from lucene import StringReader
from suggest.forms import PublishingSuggestForm
if len(prefix) < 2:
return JSONResponse([])
JVM.attachCurrentThread()
- s = MultiSearch()
+ s = Search()
hint = s.hint()
try:
def main(request):
results = {}
JVM.attachCurrentThread() # where to put this?
- srch = MultiSearch()
+ srch = Search()
results = None
query = None