Displaying 20 results from an estimated 60000 matches similar to: "Suggestion"
2013 Aug 25
2
Perl interface isn't working in 1.2.x
On 08/24/2013 08:51 PM, Olly Betts wrote:
> On Wed, Aug 21, 2013 at 01:58:35PM -0400, Jim Lynch wrote:
>> At least it isn't working the way it used to.
> What version are you trying this on (i.e. what is x in 1.2.x) and which
> older version was it working with?
New (Centos 6):
xapian-bindings-1.2.15-1.x86_64
xapian-core-libs-1.2.15-1.x86_64
xapian-bindings-perl-1.2.15-1.x86_64
2013 Aug 21
2
Perl interface isn't working in 1.2.x
At least it isn't working the way it used to.
Code:
$db = Search::Xapian::Database->new( $dx );
my $qp = Search::Xapian::QueryParser->new();
my $dbSize=$db->get_doccount();
# $qp->set_stemmer(new Search::Xapian::Stem("english"));
# $qp->set_stemming_strategy(STEM_SOME);
# $qp->set_default_op($defaultop);
my $par =
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
2013 Aug 26
2
Perl interface isn't working in 1.2.x
On 08/25/2013 05:02 PM, Olly Betts wrote:
> So the simple fix is
> probably just to install the perl-Search-Xapian RPM instead.
Thanks, the Centos 6 repos don't have that rpm and the
http://xapian.org/download page seems to only cover the XS bindings, if
I am reading this correctly:
But I was able to remove the rpm packages and compile and install the
core and swig from source.
2012 Jan 20
3
get_docid???
my $mset = $enq->get_mset($nstart,$nrecords);
for(my $mit=$mset->begin(); $mit != $mset->end();$mit++) {
my $doc = $mit->get_document();
my $dat = $doc->get_data();
my $id = $doc->get_docid();
}
[Fri Jan 20 10:35:06 2012] newmail.cgi: Can't locate
auto/Search/Xapian/Document/get_docid.al in @INC (@INC contains:
/etc/perl
2018 Sep 20
1
Couldn't detect type of database
Hi, Olly,
I have no idea what was going on. I installed xapian from Ubuntu repos
and had the issue. xapian-delve and xapian-check gave me the same
errors. I've now build the libs and perl bindings from source and all
is well. I do not know, but I'm happy it's working again.
Thanks,
Jim.
On 09/19/2018 04:23 PM, Olly Betts wrote:
> On Wed, Sep 19, 2018 at 07:29:13AM -0400,
2006 Feb 07
1
Omega
Are there any options to forming queries with Omega? For instance can
you specify a proximity search like "file near 5 manager"? If so, where
might I find this documented? I don't see it in the docs directory.
Thanks
Jim.
2018 Sep 19
2
Couldn't detect type of database
I recently lost a hard drive and after successfully restoring
everything, I think, I'm getting "Error opening database `current.1':
DatabaseOpeningError: Couldn't detect type of database"
The directory current.1 contains the following files:
-rw-rw-r-- 1 jwl jwl 30064640 Aug 28 23:44 docdata.glass
-rw-rw-r-- 1 jwl jwl 151 Aug 28 23:44 iamglass
-rw-rw-r-- 1 jwl jwl
2012 Jan 15
3
I'm trying to relate what I know about Omega/Scriptindex with the actual data
James, thanks for the explanations. I misread the notes.
As an exercise, I'm trying to convert an existing project that currently
uses Scriptindex and Omega to direct Xapian API calls. I did a (I
think) complete dump of a document with
delve -r 565 -d database
and I see things like
subject='A typical subject'
with a corresponding set of terms like
Sa Stypical Ssubject
Which
2011 Jun 10
2
Problem with a web page at gmane.
http://permalink.gmane.org/gmane.comp.search.xapian.general/6933
For some reason the links on that page include the trailing periods so
clicking on them will give you a 404 error. Can this be fixed?
Thanks,
Jim.
2006 Jan 03
2
Debian Package Installation
Hi:
I've successfully installed Xapian under Ubuntu Linux using APT but when I
tried it on an older Debian machine I got a broken package error:
------------------------------------------
# apt-get install libxapian8
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are
2006 Jul 17
1
How would I go about translating this patch to 0.9.6?
//http://search.gmane.org/~xapian/xapian-qp-utf8-0.9.2.patch
<http://search.gmane.org/%7Exapian/xapian-qp-utf8-0.9.2.patch>
Or is there a new o/ne?
Thanks,
Jim.
/
2004 Oct 08
1
indexing performance
I've some trouble with my indexer, which builds on simpleindex.cc. The problem
is that indexing process becomes very slow after we indexed 2000k docs (though
the indexer works quite well with first 2000k docs). It took almost three
weeks to index 8 million docs. However, we need to index about 20 million
docs. I have to stop the indexer due to its performance.
I think my question is
2004 Sep 01
1
Omega cgi question
IRIX 6.5.22, compiled omega.0.8.1 with native MIPS compiler.
omega.cgi isn't running from apache. From the log:
[Wed Sep 1 10:04:36 2004] [error] [client 198.149.32.31] malformed
header from script. Bad header=Caught unknown exception: /var/www/cgi-
bin/omega.cgi
This is with a url of http://<machine>/cgi-bin/omega.cgi?DB=/open/
When I run it from the command line with no
2012 Jan 20
2
Perl version of sortable_serialize missing?
I attempted to use the sortable_serialize function from perl, however
doesn't seem to exist. The only occurrence of the string "sortable" in
the /usr/local/perl/5.10.1/Search/ tree is in the pod in Xapian.pm.
What am I doing wrong?
use Search::Xapian;
...
$doc->add_value(4,sortable_serialize($recdate));
Undefined subroutine &main::sortable_serialize called
2008 Apr 14
2
Debian/Ubuntu repository key missing
The http://www.xapian.org/debian/archive_key.asc key file referenced
on http://xapian.org/download.php is missing.
Any chance it could be restored?
Paul Dixon
2012 Jun 04
1
Search not finding queries with stop words.
I have a search in perl that looks a bit like:
my $qp = new Search::Xapian::QueryParser();
$qp->set_stemmer(new Search::Xapian::Stem("english"));
$qp->set_stemming_strategy(STEM_SOME);
$qp->set_default_op($defaultop);
...
my $par = $qp->parse_query($query);
my $enq = $xDatabase->enquire( $par );
and in the db create script:
my $stopper =
2013 Feb 21
1
Parsing fields with phrases.
I have the following code:
my $par =
$qp->parse_query($query,Search::Xapian::FLAG_SPELLING_CORRECTION);
print LOG "Query $query, par $par\n";
my $enq = $xDatabase->enquire( $par );
The output from the LOG file is:
Query title:"new dolphin", par Xapian::Query(0 * Snew dolphin)
No results are returned. If I change the search to title:dolphin it
finds a
2011 Jun 10
2
Just starting to experiment with php
I took one of the examples and tried to run against my database
ls -l /data1/mail/db/cur.1
total 1129624
-rw-r--r-- 1 jwl jwl 0 2011-06-09 02:27 flintlock
-rw-r--r-- 1 jwl jwl 28 2011-06-09 02:27 iamchert
-rwxrwxrwx 1 jwl jwl 7258 2011-06-09 02:27 position.baseA
-rwxrwxrwx 1 jwl jwl 7046 2011-06-09 02:27 position.baseB
-rwxrwxrwx 1 jwl jwl 474226688 2011-06-09 02:28
2006 Apr 21
2
omega on debian 0.9.5
Hi,
I've tested omega (cgi) on several sql databases on my local machine in
which runs Ubuntu, using the version 0.9.4 (installed using apt), and I was
really satisfied for the results I obtained. I customized a bit the "query"
template.
But once I installed omega on the server (using apt for Debian, and omega
version 0.9.5), I discovered that the relevances didn't work, as