At this time I'm writing a phpclass working over the cgi using syntax
like
passthru("REQUEST_METHOD=GET QUERY_STRING=\"q=piper&m=all&ps=10&np=9\"
/usr/local/search/bin/search.cgi");
Speed is very good with this solution.
Do you have a delay for the availability of the php extension module ?
Benoit
----- Original Message -----
From: "Alexander Barkov" <[EMAIL PROTECTED]>
To: "Benoit de Mulder" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, October 16, 2000 3:25 PM
Subject: Re: UdmSearch: php front end and db cache mode
| Hi!
|
| It is not implemented. We use low-level file reading and bit
operations,
| sorts, so it's impossible (or hard) to implement in PHP front-end.
|
| There are also good news. We've recently wrote extension module for
| native
| UdmSearch support in PHP. PHP guys are currently learning module code
| and
| trying to add it into PHP source tree.
|
| If everything goes OK, it will be possible to any mode including
| "cache"
| in PHP programs.
|
| Typical PHP program will look like this:
|
| <?
| $udm=udm_alloc_agent("mysql://foo:bar@localhost/udmsearch","cache");
| $res=udm_find($udm,"words to find");
|
| ..... // fetching and siplaying results;
|
| udm_free_res($res);
| udm_free_agent($udm)
| ?>
|
|
| Benoit de Mulder wrote:
| >
| > I'm using the last dev version of udm search and I'm wondering if
there
| > is a way to use the php front end with the new db mode "cache" ?
| >
| > Benoit
|
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]