equal
deleted
inserted
replaced
28 return False |
28 return False |
29 if bool is True or bool is False: |
29 if bool is True or bool is False: |
30 return bool |
30 return bool |
31 key = str(bool).lower() |
31 key = str(bool).lower() |
32 return __BOOLEAN_DICT.get(key, False) |
32 return __BOOLEAN_DICT.get(key, False) |
|
33 |
|
34 def generate_uuid(): |
|
35 return unicode(uuid.uuid1()) |
33 |
36 |
34 class LdtSearch(object): |
37 class LdtSearch(object): |
35 |
38 |
36 def query(self, field, query): |
39 def query(self, field, query): |
37 indexSearcher = lucene.IndexSearcher(STORE) |
40 indexSearcher = lucene.IndexSearcher(STORE) |