/[hyperestraier_wrappers]/0.0.12/examples/dbinfo.py
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /0.0.12/examples/dbinfo.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Sat Sep 3 18:02:31 2005 UTC (18 years, 6 months ago) by dpavlin
File MIME type: text/x-python
File size: 233 byte(s)
import of hyper_estraier_wrappers-0.0.12.tar.gz

1 import HyperEstraier
2
3 db = HyperEstraier.Database()
4 db.open('/tmp/casket', HyperEstraier.Database.DBREADER)
5
6 print 'db name: ', db.name()
7 print 'doc num: ', db.doc_num()
8 print 'word num: ', db.word_num()
9 print 'size: ', db.size()

  ViewVC Help
Powered by ViewVC 1.1.26