[pLog-svn] r4676 -plog/branches/lifetype-1.2/class/database/pdb/drivers

Oscar Renalias oscar at renalias.net
Sat Feb 3 06:59:21 EST 2007


Can you see if revision r4681 is good enough for you both Mark and  
Jon? Usage of FULLTEXT is now fully and only driven by the parameter  
in the config file instead of via the character set, and it can now  
be switched on and off at will. It's disabled by default, by the way.

On 3 Feb 2007, at 03:47, Mark Wu wrote:

> Hi Jon & Oscar:
>
> It will be better, if we can have a option to eanble/disable the  
> fulltext
> search. As I describe in previous mail, it is not easy to  
> distinnquish this
> in encoding backlist. But, I can prepare a list first.
>
> And, I think all mysql platfrom (from 3.23 above) should support  
> fulltext
> search, but maybe some syntax different (I have no idea, we need to  
> check
> this).
>
> Mark
>
>> -----Original Message-----
>> From: plog-svn-bounces at devel.lifetype.net
>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
>> Sent: Saturday, February 03, 2007 8:53 AM
>> To: plog-svn at devel.lifetype.net
>> Subject: Re: [pLog-svn] r4676
>> -plog/branches/lifetype-1.2/class/database/pdb/drivers
>>
>> On Sat, 3 Feb 2007, Oscar Renalias wrote:
>>> How about an extra optional parameter in the config.properties.php
>>> file? Would that be good enough?
>>  	I think that is fine.  This gets read in at a lower
>> level than the rest of the config stuff?  When you say
>> "optional" do you mean it wouldn't be in the default install?
>>  I'd at least have it in there commented, so people can find
>> it when they need it.
>>  	This is a random question, and I have no prior
>> knowledge - do all hosts (and versions of mysql) allow
>> FULLTEXT searches?
>>
>>>
>>> On 3 Feb 2007, at 01:26, Jon Daley wrote:
>>>
>>>>  	Can we have a configuration option to turn this on and off as
>>>> well?
>>>>
>>>> On Fri, 2 Feb 2007, oscar at devel.lifetype.net wrote:
>>>>> Author: oscar
>>>>> Date: 2007-02-02 17:54:59 -0500 (Fri, 02 Feb 2007)
>>>>> New Revision: 4676
>>>>>
>>>>> Modified:
>>>>>   plog/branches/lifetype-1.2/class/database/pdb/drivers/
>>>>> pdbdriverbase.class.php
>>>>>   plog/branches/lifetype-1.2/class/database/pdb/drivers/
>>>>> pdbmysqldriver.class.php
>>>>> Log:
>>>>> Added driver-specific support for FULLTEXT indexes, so now the
>>>>> driver can tell the user classes whether fulltext queries are
>>>>> supported or not. Fulltext is disabled by default in the base
>>>>> driver class but the MySQL driver will first check the database
>>>>> character encoding to determine whether FULLTEXT is supported or
>>>>> not. The method PDbMySQLDriver::isFullTextSupported() holds an
>>>>> array with "blacklisted" character sets that don't support
>>>>> FULLTEXT but it currently is set to empty (meaning that FULLTEXT
>>>>> is supported accross all mysql character sets so I'm hoping that
>>>>> Mark or somebody more familiar with this will help me fill in the
>>>>> array.
>>>> _______________________________________________
>>>> pLog-svn mailing list
>>>> pLog-svn at devel.lifetype.net
>>>> http://limedaley.com/mailman/listinfo/plog-svn
>>>>
>>>
>>> _______________________________________________
>>> pLog-svn mailing list
>>> pLog-svn at devel.lifetype.net
>>> http://limedaley.com/mailman/listinfo/plog-svn
>>>
>>
>> -- 
>> Jon Daley
>> http://jon.limedaley.com/
>>
>> Quarrels would not last long if the fault were only on one side.
>> -- Francois de La Rochefoucauld
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list