Package itools :: Package xapian

Package xapian

Classes
  AllQuery
  AndQuery
  Catalog
  CatalogAware
  NotQuery
  OrQuery
  PhraseQuery
  RangeQuery
  StartQuery
Functions
 
make_catalog(uri, fields)
Creates a new and empty catalog in the given uri.
 
split_unicode(text, language='en')
Function Details

make_catalog(uri, fields)

 
Creates a new and empty catalog in the given uri.

If uri=None the catalog is made "in memory".
fields must be a dict. It contains some informations about the
fields in the database.
By example:
fields = {'id': Integer(is_key_field=True, is_stored=True,
                        is_indexed=True), ...}