Displaying 20 results from an estimated 3000 matches similar to: ""DatabaseCorruptError: Cannot open tables at consistent revisions""
2008 Jul 30
3
Dealing with image PDF's
Guys,
I was just playing around and added a bit of code to omindex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + "
2008 Jul 30
3
Dealing with image PDF's
Guys,
I was just playing around and added a bit of code to omindex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + "
2009 Feb 02
2
Ticket #282: omindex-assorted-enhancements.patch woes
I would really like to try out the features in the patch above. But I
can't ever seem to get the resulting omindex.cc to "make".
I tried updating to rev 10801 from the SVN then run /bootstrap but then
I seem to get errors compiling everything when I try and do "make" (I'm
using ubuntu 8.10).
So I thought I'd try an apply the patch to the latest stable version
2009 Jul 15
2
XAPIAN_FLUSH_THRESHOLD
I'm playing around with a machine that has 2 GB of memory.
Indexing about 5GB of data average of 2MB per document.
The documents are plain text.
I notice the omindex's memory fott print get's biger an bigger then the
machine starts to swap and it all slows down to a crawl.
In regards to export XAPIAN_FLUSH_THRESHOLD I know the default is 10000
Am I right in saying that for my setup
2009 May 19
4
omindex options
Hi.
I am writing a python equivalent of omindex (we are using scriptindex
currently - but I wanted to use omindex instead, and extend it to work with
our internal file format.. BUT did not want to compile code if possible...
so anyway).
I have tried to keep the code as close to possible to the omindex native
code, but am facing a bit of confusion: what exactly is the reason for
omindex to take
2009 Feb 04
2
wildcard support (left truncation)
Dose Xapian support wildcards (left truncation)?
E.g. *ildcard.doc or *.doc or Wild*.doc
I read a post from Olly in 2005 that said it wasn't supported yet, I was
wonder if there had been any progress or easy work around since.
I mainly need when users want to search by the filename extension.
Thanks,
Frank
2011 Jan 17
2
DatabaseCorruptError
Hi there,
My web app uses Xapian via the PHP bindings. I'm getting this error
thrown occasionally when atempting to instantiate a XapianDatabase
object for searching.
DatabaseCorruptError: Expected block 107 to be level 1, not 0
Here's the line that invokes it:
$database = new XapianDatabase(PROJROOT.'/data/xapian/posts');
And my version is xapian-core 1.2.3 with matchspy.
2008 Apr 20
1
Exception DatabaseCorruptError under php
Hello,
I'm having a litle issue with Xapian-1.0.6 with php bindings under
php5 when trying to add a new document it throws:
Fatal error: Uncaught exception 'Exception' with message
'DatabaseCorruptError: Failed to unlink
/var/lib/xapian/trade.ar/termlist.baseA: No such file or directory'
in /usr/share/php5/xapian.php:1140
Stack trace:
#0 /usr/share/php5/xapian.php(1140):
2009 Apr 29
1
antiword
Hi guys,
I've been noticing more and more that antiword has trouble with many
word documents.
It may look like it's converted a document but leaves out headings and
bits of text.
I've been looking into getting openoffice to do it in headless mode but
still have a way to go before it's stable.
I was wondering if anyone else had any luck on this front?
One quick fix I have found
2009 Jun 20
3
omindex hangs while scanning
Hello,
I was looking for a search engine for a small internal documentation
site and found xapian and
omega. Downloaded and compiled it using msys and ming on a german
windows xp system. Finally
installed apache on the same box.
Following the omega example I copied the book to .../apache/htdocs and
startet the omindex
which hang up on the first document found. Even on very short doc with
2004 Jun 28
2
[Fwd: Irix install of omega fails.]
OK, I'll try again.
Thanks,
Jim.
-------------- next part --------------
An embedded message was scrubbed...
From: Jim Lynch <jwl@sgi.com>
Subject: Irix install of omega fails.
Date: Mon, 28 Jun 2004 14:16:46 -0400
Size: 2057
Url: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20040628/212669c1/Irixinstallofomegafails.eml
2016 Sep 27
1
omega issues/notes
All,
I've run into a couple of things using omega/omindex under cygwin. I don't
think I'd attribute them to xapian, omega or omindex, but wanted to get
them out to the list so that if anyone else should run into these things
down the road, hopefully someone will remember and be able to help.
1) after compiling and building omega, and doing make install, I get a set
violation when
2007 Jul 12
1
omega: omindex behaviour with duplicate files
Hi all
I need a little clarification with regard to Omega's behaviour with
'duplicate' files when running 'omindex'.
How is a duplicate recognised? Is it simply by file path? How is an
unmodified file detected, if at all?
I would like to set up subversion post-commit hook to update my index.
If possible I would like to just update the index with the newly
commited files.
2004 Dec 17
2
Omega changes
I propose making a few changes to the way omega (and omindex) operate.
I'm posting these to the list before doing so to check if they'll cause
obvious problems for anyone.
1) Configuration handling for omega. Omega has a configuration file,
which specifies where databases, templates and logfiles are to be found.
It currently looks for this configuration file in its current working
2014 Mar 11
2
[GSOC 2014] Indexing INEX dataset
Hi Parth,
I?ve implemented SVMRanker class and also sorted out most of current Letor APIs.
Now I?m trying to use INEX dataset to verify my implement. But I stuck in the indexing part. You said in the documentation that we have to add prefix when indexing. Also I notice that you set some metadata in omindex.cc of your version. But the omindex.cc has changed since 2011. I think that?s why my result
2008 May 05
2
locate and omega: how to index file names?
hallo,
I'm indexing a filesystem using omindex, and users can query the
database via omega: everything works fine
now I'd like to add an option like "search files by name" and I'm
wondering how to do this
can omega search files by name directly? how should I build the query?
could I use scriptindex to index, eg., the locate database? how?
should I index file names
2009 Jul 24
2
redhat rpm install and quick start
I installed Xapian and Omega following the instructions for the RHEL 5 RPM package found at xapian.org.
I was going to perform the quick start instructions, but there is not "omnidex" for the omindex --db DBPATH --url / WEBPATH command.
The quick start also mentions running omega from usr/lib/omega/bin; however that was not created as well using the RHEL 5 RPM.
Is there a walkthrough on
2017 Apr 20
2
Question about the ticket #743 omindex: delay libmagic checks
Hi,
I'm working on the ticket #743 omindex: delay libmagic checks
<https://trac.xapian.org/ticket/743>. As the ticket's
Description mention, the call to libmagic is expensive than call the stat,
so we can check the size by call the stat to get size before call
libmagic to get a mime type.
But how about the timestamps check? since timestamps check need to iterate
the DB to check if
2011 Oct 27
1
Apache conf.d file for omega?
Hello :-)
Sorry if this question is na?ve and confused; I'm new to Apache
configuration.
Can Apache be configured to run omega via a file in the conf.d directory
rather than a virtual server?
I have been using a virtual server on port 80 but now need to run nagios
on port 80 too and do not want to ask the users to start using a URL
with a non-standard port for omega. KISS.
AFAIK omega
2017 Feb 27
2
errors on rebuild
Hello,
I am trying to rebuild an index of 2+ million documents and have not been successful. I am running
Python 2.7
Django 1.7
Haystack 2.1.1
Xapian 1.2.21
The index rebuild command I’m using is: django-admin.py rebuild_index --noinput --batch-size=100000
The rebuild completes but an immediate xapian-check returns this error:
xapian-check ./archive_index
record:
baseB blocksize=8K