[Xapian-discuss] Getting started with Omega
gja at waikato.ac.nz
Wed Apr 5 06:59:32 BST 2006
Thanks for the response, delve -v returns:
number of documents = 1695
average document length = 0
number of unique terms = 0
So it would seem that I have 1695 but they are all empty.
My modifications to htdig2omega were quite small. I updated the system
call to include the full path to htdump and to add an additional switch
-c /path to config/db.conf
However, in thinking about the issue it occurred to me that the command
to call htdig2omega might need a full path to htdig2omega.script.
Adding this in seems to work and now delve shows that the documents do
I have since attempted to run htdig2omega against a 3.2b6 database and
am getting the following error
Caught exception in UNIQUE!
E: Key too long: length was 258 bytes, maximum length of a key is
Exception: Key too long: length was 258 bytes, maximum length of a key
is BTREE_MAX_KEY_LEN bytes
Is it possible or easy to increase BTREE_MAX_KEY_LEN?
From: Olly Betts [mailto:olly at survex.com]
Sent: Friday, 31 March 2006 12:38 a.m.
To: Georgina Allbrook
Cc: xapian-discuss at lists.xapian.org
Subject: Re: [Xapian-discuss] Getting started with Omega
On Mon, Mar 27, 2006 at 05:42:50PM +1200, Georgina Allbrook wrote:
> However, I can't get any results returned. I'm not 100% certain that
> there are really 1,695 documents, the record_DB and termlist_DB files
> are only 40k each.
It sounds like you do have 1695 documents, but they may not contain
> I have had to edit htdig2omega to make it work as
> we're running 3.1.6, but I am not sure it really is working.
What changes did you make? It's hard for me to suggest what might be
wrong with a script with unspecified changes...
> Are any of the database files in human readable form?
No, although you can inspect the contents with the delve utility (in the
examples directory of xapian-core).
But in this case it's probably more informative to look at the output
from htdig2omega. Can you send a small sample?
More information about the Xapian-discuss