|
From: Ben v. K. <s40...@st...> - 2003-10-21 03:40:10
|
Hi, Small problem with the DLL wrapper. CL_Open returns 1 instead of "return resource;" - in 2 different places. I couldn't find any problem with the CL_HitCount though. Maybe you need to close and reopen the resource. Sometimes changes are not flushed until clucene is closed. ben On Sun, 19 Oct 2003 23:47:20 -0400, <am...@ma...> wrote: > Thanks Ben, I got it now ! > > The library compiled fine here and the demo works good (it felt faster > indexing the Reuters sample texts, though it could be just me) > > This new "resource" stuff throw me off a bit, I wasn't sure what was that > all > about and at first I thought I needed to create a true zend resource in > the > php > extension but it turns out (luckilly) to be just a plain int parameter. > So, I got the extension compiled after messing a bit with the > php_clucene.c > and clucene.cpp, but I dont get proper hitcount back...I get 0 back when > there's more than 0 hits. Well that's what you get when a "weekend > warrior" > is trying to get some cpp code going :) > > I'm going to stop now, I'm tired and one of my teeth is giving me > tingling > sensations (uggh have to go to the dentist tomorrow) so I'll pick up on > this > tomorrow hopefully (depending on the workload and mood I'm in...) > > > -pedja > > > > > ----- Original Message ----- > From: "Ben van Klinken" <s40...@st...> > To: <clu...@li...> > Sent: Sunday, October 19, 2003 7:16 PM > Subject: Re: [CLucene-dev] file release > > >> Sorry, >> I've put up the proper one now :) >> Note that it has no help files, so it's a bit smaller. >> After this release is deemed "stable", i'll start making a stable >> release >> and working version. >> >> ben >> >> On Sun, 19 Oct 2003 12:26:40 -0400, <am...@ma...> wrote: >> >> > Hi Ben >> > >> > I tried downloading the 0.8.2 PRE version and I get a 1.1KB PHP file >> ?! >> > Could you please re-upload the 0.8.2PRE source again? >> > >> > This PRE does not contain any of Rob's changes yet, correct, so we >> have >> > to use his patch over the CVS version or over this PRE version? >> > >> > Once I get this PRE, I'll try my PHP extension and if it works well >> I'll >> > send >> > you the code via email or post a link here for everyone, whichever > way... >> > >> > >> > thanks >> > >> > -pedja >> > >> > >> > ----- Original Message ----- >> > From: "Ben van Klinken" <s40...@st...> >> > To: <clu...@li...> >> > Sent: Sunday, October 19, 2003 8:45 AM >> > Subject: [CLucene-dev] file release >> > >> > >> >> Hi Everyone, >> >> >> >> Sorry, I couldn't send my changes to the CVS. I'm behind a firewall >> and >> >> can't get through. Will have to wait till i get onto a better >> >> connection. >> >> But I have put up a release version 0.8.2 PRE. Hopefully it has > included >> >> all the changes. (except PHP which i haven't done yet). >> >> >> >> ben >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This SF.net email sponsored by: Enterprise Linux Forum Conference & > Expo >> >> The Event For Linux Datacenter Solutions & Strategies in The >> Enterprise >> >> Linux in the Boardroom; in the Front Office; & in the Server Room >> >> http://www.enterpriselinuxforum.com >> >> _______________________________________________ >> >> CLucene-developers mailing list >> >> CLu...@li... >> >> https://lists.sourceforge.net/lists/listinfo/clucene-developers >> >> >> >> >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.net email sponsored by: Enterprise Linux Forum Conference & >> Expo >> > The Event For Linux Datacenter Solutions & Strategies in The >> Enterprise >> > Linux in the Boardroom; in the Front Office; & in the Server Room >> > http://www.enterpriselinuxforum.com >> > _______________________________________________ >> > CLucene-developers mailing list >> > CLu...@li... >> > https://lists.sourceforge.net/lists/listinfo/clucene-developers >> > >> > >> >> >> >> >> >> ------------------------------------------------------- >> This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo >> The Event For Linux Datacenter Solutions & Strategies in The Enterprise >> Linux in the Boardroom; in the Front Office; & in the Server Room >> http://www.enterpriselinuxforum.com >> _______________________________________________ >> CLucene-developers mailing list >> CLu...@li... >> https://lists.sourceforge.net/lists/listinfo/clucene-developers >> > > > > > ------------------------------------------------------- > This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo > The Event For Linux Datacenter Solutions & Strategies in The Enterprise > Linux in the Boardroom; in the Front Office; & in the Server Room > http://www.enterpriselinuxforum.com > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |