[Xapian-discuss] xapian-python and Apache
Olly Betts
olly at survex.com
Tue Jun 28 21:24:08 BST 2005
On Tue, Jun 28, 2005 at 03:48:29PM -0400, Benjamin Piwowarski wrote:
> File "/home/bpiwowar/public_html/todocl/simplesearch.py", line 32, in ?
> database = xapian.Database(xapian.remote_open("<HOST>",<PORT>))
You can simplify this as xapian.remote_open returns a Database object:
database = xapian.remote_open("<HOST>",<PORT>)
I don't know if that's causing your problem though...
Is the command line python the same as the mod_python one? What does
"python -V" report?
Cheers,
Olly
More information about the Xapian-discuss
mailing list