Beispiel #1
0
def union(request, sid):
    from unitedsearch.union import searcherUnion
    slist = map(searchersmap.get, sid.split(","))
    searcher = slist[0] if len(slist) == 1 else searcherUnion(slist)
    return usUnionViewer(searcher)
Beispiel #2
0
def m_search(request):
   viewer = usViewer(searcherUnion([external.digitalnz,external.flickr]))
   return viewer.search(request)
Beispiel #3
0
def union(request, sid):
    from unitedsearch.union import searcherUnion
    slist = map(searchersmap.get, sid.split(","))
    searcher = slist[0] if len(slist) == 1 else searcherUnion(slist)
    return usUnionViewer(searcher)