search engine php3 not case sensitive - Mailing list pgsql-admin

From Carlo Perassi
Subject search engine php3 not case sensitive
Date
Msg-id 3893FA36.86990BC2@vlsilab01.polito.it
Whole thread Raw
List pgsql-admin
hi all
I hope this is not a trivial question... I haven't find any answer on
the FAQ anyway...
I'm developing a little search engine (PostgreSQL+Apache+PHP3) working
wiht long fields (like 8000 char)
if someone insert the word
<word>
into my form I can search for:
<word> "as is"
Word
WORD
word

If someone would search for a chemical formula I should provide the
right output without any dependencies with the upper case or lower case
used by the client...
for example if you write
nacl
I should be able to search for
<nacl> "as is"
Nacl
NACL
Nacl

BUT most of all for NaCl, the right one!
Real search engine like Altavista to that of course... I don't assume I
want to develop something like Altavista, for sure ;P, but a little hand
could be appreciated anyway.

thanks.

ps: by the way... the php3 function soundex probably it's not the last
answer on that problem.

--
Carlo Perassi
--

pgsql-admin by date:

Previous
From: Brad Bonkoski
Date:
Subject: pg_dump question...
Next
From: Ragnar Kjørstad
Date:
Subject: Re: [ADMIN] request for tuning suggestions from PC Week Labs