Example #1
0
 def __init__(self, *args, **kwargs):
     #if initial data exists then we parse it out and put it in the right fields
     # expects a list of tuples. Facets shouldn't be built directly, only of queries
     self.simple = CleverDict(instance='simple')
     self.regex = CleverDict(instance='regex')
     self.fl = []
     CleverDict.__init__(self, *args, **kwargs)
Example #2
0
 def __init__(self, *args, **kwargs):
     #if initial data exists then we parse it out and put it in the right fields
     # expects a list of tuples. Facets shouldn't be built directly, only of queries
     # Standard Fields
     self.field = []
     self.queries = []
     CleverDict.__init__(self, *args, **kwargs)