Package grassyknoll :: Package backend :: Package lucene :: Module Smarts
[hide private]

Module Smarts

source code

a higher level lucene wrapper with intelligence

Classes [hide private]
  SmartField
a field name & value, with instructions on how to save it into the index
  SmartDoc
a document built from SmartFields
  SmartHit
a search result
  SmartStorage
A wrapper around a lucene index with a smarter API
Variables [hide private]
  Constants
  str2type = dict((t.__name__, t) for t in(int, long, float, dat...
  type2str = dict((t, n) for n, t in str2type.iteritems())
Variables Details [hide private]

str2type

Value:
dict((t.__name__, t) for t in(int, long, float, datetime.date, datetim\
e.datetime, datetime.time))