|
From: <am...@ma...> - 2003-10-22 09:45:34
|
...I dont know what but ever since this Resource business things dont seem to work the way they should/used to using the wrapper/php ext. Instead of error messages I get garbage; hit count shows 0 hits yet it finds one document, even though there should be more than one hit/documents found. I'm really puzzled here because there's nothing to it, using this Resource struct just makes it look more organized but where are the correct results from all this? What has been changed inside CLucene core / if anything? -pedja ----- Original Message ----- From: <am...@ma...> To: <clu...@li...> Sent: Tuesday, October 21, 2003 3:46 PM Subject: Re: [CLucene-dev] some more fixes > Hi Ben > > Thanks for all the recent updates, I wonder what's the next step with > CLucene. > Personally I'd like to see MFQP (multifieldqueryparser) implemented, but > then > again I admit I kinda need it myself so I'm selfish. :) > > > > > I've replaced the stringDuplicate function with a function that allocates > > memory using new[] then doing a stringCopy. So I think there shouldn't be > > any code that uses malloc anymore. However i ran a quick comparison check > > using the tests program, comparing the old code that uses malloc against > > the new code that uses new[]. The old codes seems to be the slightest big > > faster. Does anyone know about if if there's any performance issues of > > malloc vs new[]? > > I thought that strcpy does malloc internally or something, no? > When I tried using strcpy in the php extensions I'd get core dumps, so when > I switched to strdup instead of strcpy things seemed to work ok. > If new[] is going to be used as standard then I might as well change all > the strdup's to strcpy with new[].... > > > > > I've posted 0.8.3 on sourceforge. Sorry about CVS, does anyone have any > > ideas how to get through a firewall onto sourceforge (no socks server > > either)? > > > > Aside from opening a firewall port the only thing that comes to mind is to > use > a bouncer/port forwarder that will forward connections from some open port > on your internal network to an outside port for cvs. > CVS port is 2401 tcp/udp > > > -pedja > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > |