Displaying 20 results from an estimated 1000 matches similar to: "TermGenerator in PHP4"
2010 Jun 09
1
TermGenerator incorrectly tokenizes German text which contains special characters
Dear Xapian users,
I try to index some German text with Xapian using the xapian_php bindings. I
run Apache 2.2 on Windows using PHP 5.2.13 with the pre build xapian
bindings from Flax:
Xapian Support enabled Xapian
Compiled Version @PACKAGE_VERSION@
Xapian Linked Version 1.2.0
The problem is that after indexing text which contains special characters
like ?, ?, ? and ?, using
2007 Oct 18
3
Changing php5 with php4 in CentOS 5
Hi,
In our server CentOS 5 is installed. Some of our web pages are compatible
with php4 but in centOS 5 , php5 is installed and we cannot see our pages.
I want to remove php5 and install php4 but i could not find php4 rpm for
CentOS 5. Can anybody help me?
Thanks
Can ?izer
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Nov 26
1
Word missing after stemmed with Norwegian in Search::Xapian::TermGenerator
Hi all Xapian-devel,
Gist: https://gist.github.com/10d2222d8bffe8d7631d
I'm using Xapian-TermGenerator to extract Norwegian sentences to vsm
(vector space model) using TermGenerator. But when I test generating vsm
from 'Truet med ? stevne misforn?yd PC-kunde - PC-leverand?ren Asus likte
sv?rt d?rlig kundens misforn?yde leserbrev.' It doen't return 'asus' result
in vsm.
2007 Feb 10
1
php5 rpm to be installed in parallel with php4?
Hi,
I'm looking for a php5 rpm which I can install in parallel with php4. Therefore,
the centosplus rpm is (AFAIK) not usable for me as it replaces php4.
Does centos provide an php5 rpm which does not touch my php4? Is there a
matching srpm on web?
Sorry, if this question is a FAQ. Thanks for your help :)
fs
2010 Sep 01
8
FIXMEs in Search::Xapian
Carrying on this conversation:
http://lists.tartarus.org/pipermail/xapian-discuss/2007-March/003513.html
void
TermGenerator::set_stopper(stopper)
Stopper * stopper
CODE:
// FIXME: no corresponding SvREFCNT_dec(), but a leak seems better
than
// a SEGV!
SvREFCNT_inc(ST(1));
THIS->set_stopper(stopper);
It would be good to fix these FIXMEs.
A class-level HASH could be
2012 Jun 12
1
php4 under Centos6
Hello, is there any way of getting php4 installed on Centos6? I'd like
to install it in an apache/fastcgi environment.
Has anybody got a link to a description/howto describing a clean install?
I failed compiling the original php4 tar ball and failed relocating the
php binary.
Thanks in advance
Regards
Michael
2007 Jun 28
1
TermGenerator and SimpleStopper
Hi,
I'm using SimpleStopper with TermGenerator in a Python indexing
script, in an attempt to keep my index size down (currently 30K per
doc, and I have 200 million docs to index, which I think implies
6TB.) However, unprefixed (positional?) terms are not affected by
the stopper, though Z-prefixed terms are.
I assume this is intentional for phrase queries, but I need to reduce
my
2003 Jul 23
1
problem w/ php3+php4
Hello,
Has anybody experienced any problems with php3+php4 combo
in systems newer than 4.6-STABLE (as of June-Aug 2002)?
Briefly, the problem looks very similar to what is
stated in the following reports:
http://groups.google.com/groups?q=%22php3+kills+apache%22&hl=ru&lr=&ie=UTF-8&oe=UTF-8&selm=wqz8yrfzbug.wl%40hurt.theclones.net&rnum=1
2005 Oct 14
1
php4/php5
Hey Guys,
I need to run PHP4/PHP5 from the same physical server.
I have apache + php5 currently.
Im thinking of creating a new apache and php4 from srpms and installing
It all in say /opt/apache_php4 and then running it from its own IP since
The server has two external IP addresses available.
Just wondering if anybody here has needed to do the same in the past and
what did you do to achieve
2007 Sep 20
3
running php4 and php5 parallel
Is it possible to run php4 and php5 parallel in Centos4 somehow? If
the parallel php5 could be installed from rpm also that would be great
also.
Regards,
Peter
2007 Jul 03
1
best way to upgrade php4 -> php5 on CentOS?
What is the best way to upgrade PHP4 to PHP5 on CentOS? I see from "rpm -qa"
that I'm running PHP-4.3.9.
Should I uninstall this old PHP4 package and then reinstall PHP5? Or is
there some cool yum upgrade thing I might run?
This is a VMware virtual box for testing, so I'm more concerned about
learning what to do, rather than interrupting anything.
-------------- next part
2005 Nov 08
2
crash in PHP4 examples
Hi,
I have been experimenting with simpleindex.php in the php4 examples.
However, the command seems to crash on exit:
$ php simpleindex.php h < simpleindex.php
Segmentation fault
I ran it through gdb to get a stack trace (see below). It looks to me as
if the WritableDatabase may be getting deleted twice. Can this be fixed,
or alternatively is there any work around?
I'd have a look at
2005 Sep 21
1
php4-cli package
Hi list,
Was anyone successful in building and running a php4-cli rpm package for
centos? I need it to run some php scripts via cronjob.
Thanks!
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20050921/70ca1eca/attachment.html>
2005 Jun 07
2
Compiling PHP Bindings
Hi all.
I have problem compiling xapian php bindings.
I am using debian sarge.
I have installed php4-dev before compilation.
I am getting the following errors:
boomer:~/xapian/xapian-bindings-0.9.0# make
make all-recursive
make[1]: Entering directory `/root/xapian/xapian-bindings-0.9.0'
Making all in php4
make[2]: Entering directory `/root/xapian/xapian-bindings-0.9.0/php4'
make
2008 Mar 12
1
how can i use stopwords?
Hi,
I do not understand the stopword function...
I've set the termgenerator like this:
$self->{'Stemmer'} = new Search::Xapian::Stem(german2);
$self->{'Stopper'} = new Search::Xapian::SimpleStopper();
$self->{'TermGenerator'} = new Search::Xapian::TermGenerator;
$self->{'TermGenerator'}->set_stemmer( $self->{'Stemmer'} );
2007 Nov 14
1
Problem indexing text with spelling enabled in Perl
Hi All,
I'm using the TermGenerator::index_text() on version 1.0.4 with the
FLAG_SPELLING turned on, because the new spelling suggestion stuff
seems awesome, but I'm getting a segv.
(gdb) bt
#0 0xb7ae153c in Xapian::WritableDatabase::add_spelling
(this=0xa553988, word=@0xbff97724, freqinc=1) at ./include/xapian/
base.h:154
#1 0xb7becf47 in
2007 Dec 29
3
Term-Flags
Hi,
Is it necessary to set the down below flag to the TermGenerator,
if I want the "Did you mean ..." spelling corrections?
Xapian::TermGenerator::flags::FLAG_SPELLING
Thank you very much
Markus
2014 Feb 27
2
Summer of Code help
I think there is a development in the bug #616.
The exception obtained is:
Exception in thread "main" java.lang.IllegalArgumentException: No enum
class org.xapian.TermGenerator$flags with value 0
at org.xapian.TermGenerator$flags.swigToEnum(TermGenerator.java:143)
at org.xapian.TermGenerator.setFlags(TermGenerator.java:71)
at org.xapian.examples.SimpleIndex.main(SimpleIndex.java:54)
2007 Dec 17
1
Crashes with spelling enabled and perl.
Hi Guys,
Here's a simple test case that causes a segfault with the perl
bindings patched to enable spelling correction:
use strict;
use warnings;
use Search::Xapian;
my $db = Search::Xapian::WritableDatabase->new("test.db",
Search::Xapian::DB_CREATE_OR_OPEN);
if (!defined($db)) {
die("Failed to open xapian_database: $!");
}
my $indexer =
2015 Jul 26
1
Get term from document by position
mple (see attachment).
>
> Attachments get stripped out by the mailing list, so I?ve made a private gist of the two files here: <https://gist.github.com/jaylett/ce8455b37e2b84422346>.
>
> Actually, when I run it I get 0 matches, which would explain why you?re just getting the start of the document. However if I adjust things (match the stemming strategy for TermGenerator to