Re: Re: Blogger post failed
| From: | joseph | Date: | Mon, 13 Mar 2006 13:54:29 +0000 |
| Subject: | Re: Re: Blogger post failed | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231850@lists.php.net to get a copy of this message | ||
i got that too. on a post on a different topic though than the one we
were working on.
2006-03-13 (월), 14:37 +0100, Jochem Maas 쓰시길:
> I have never been to blogger.com, let alone posted something to it.
> anyone have any idea what this is about? is google trying to assimilate me
> or something?
>
> postgateway@blogger.com wrote:
> > Blogger could not process your message at this time.
> >
> > Error code: 6.1C18D13
> >
> > Original message:
> > From: jochem@iamjochem.com
> > Date: Mon, 13 Mar 2006 14:19:56 +0100
> > Subject: Re: [PHP] what would a c extension buy me
> > joseph wrote:
> >
> >>sorry, i made a mistake before.
> >>
> >>
> >>
> >>>> 9795 Query select
> >>>>word,def,wordid,pos,posn,wordsize,syn from korean_english where word
> >>>>like 'ìš´ì „í• ' order by wordsize desc
> >>>
> >>>in cases when you are not using the wildcard tokens (percentage signs)
> >>>try changing the query to use something like:
> >>>
> >>> ... word = 'ìš´ì „í• ' ...
> >>>
> >>
> >>
> >>i have to stick with 'like' because it matches case-insensitive, else
> >>the first word of a sentence (with a capital letter) doesn't match the
> >>db word. FYI
> >
> >
> > do you really care about case (in languages where characters even have case)?
> > if not stick everything into the DB as uppercase and test against that (always normalizing
> > everything to uppercase before doing the queries). it would be faster than a
> > case-insensitive search
> >
> > also consider it might be worth creating a special index for the first (couple?)
> > of letters of the WORD field, that would allow something like this (not in all cases
> > obviously):
> >
> > SELECT * FROM korean_english WHERE word = 'ìš´ì „í• ' AND
> > SUBSTR(word,0,1) = 'ìš´'
> >
> > (now I'm allowed to sue 'SELECT * ...' because I'm offering a possible
> > concept/idea - as opposed to pasting code for people look at) - basically the idea
> > entails creating an index (possibly based on an extra column) that would allow the
> > mysql engine to start searching in a smaller subset based on the 2nd (in this case)
> > WHERE clause and using the more compact 'SUBSTR(word,0,1)' index.
> >
> > this might not have any effect whatsoever depending on how indexes are used
> > internally by the mysql engine. so basically this is me guessing :-)
> >
> >
> >
> >
>