Re: Livesearch

Thomas Baumann <[email protected]> Wed, 22 Jun 2005 07:35:57 +0200
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>
phpmyadmin meldet:
 Die Index-Typen INDEX und PRIMARY sollten nicht gleichzeitig f=FCr die S=
palte
`id` gesetzt sein.
Diesen Fehler habe ich durch=20
ALTER TABLE `bxcms_blogposts` DROP INDEX `ID`;
gel=F6st.

=DCbersicht:
Name         Typ     Kardinalit=E4t Feld=20
PRIMARY      PRIMARY 3            id
ID           UNIQUE  3            id
post_uri     UNIQUE  3            post_uri
post_author  INDEX   keine        post_author=20
post_content FULLTEXT keine     post_content,post_title,post_keywords

Habe jetzt mit=20
ALTER TABLE `bxcms_blogposts` DROP INDEX `post_content`;
ALTER TABLE `bxcms_blogposts` ADD FULLTEXT `post_content` (
`post_content` ,
`post_title` ,
`post_keywords`
);
den Index wieder neu aufgebaut.

Wenn ich aber jetzt unter http://tirili.zyklopedie.de/en/blog/
nach "share" suche, kommt noch immer kein Ergebnis, obgleich das Wort im
body des Blogs auftaucht.=20

Tabellentyp ist MyISAM. MySQL 4.1.7 Fedora Core 2

Danke f=FCr die weitere Hilfe im voraus.

Liebe Gr=FC=DFe

- tom

Zitat von Christian Stocker <[email protected]>:

>=20
>=20
> On 21.6.2005 8:44 Uhr, Thomas Baumann wrote:
> > How does Livesearch search ?
> >=20
> > Look at: http://tirili.zyklopedie.de/blog/
> >=20
> > And look at the contents: "...Filter zum Blocken von Spam-Mails..."
> >=20
> > But when i perform a Livesearch for "Blo.." then there is
> > nothing found in fulltext.=20
>=20
> Kannst du mal =FCberpr=FCfen, ob die Tabelle bxcms_blogposts einen FULL=
TEXT
> index auf  "post_content, post_title" hat, also:
>=20
> FULLTEXT KEY `post_content` (`post_content`,`post_title`)
>=20
> Wenn ja, nimm ihn mal raus und mach ihn neu. Ich hatte auch schon das
> Problem, dass der irgendwie nicht generiert wurde.
>=20
> Wenn nein, hast du MyISAM als Tabellentypen? Weil nur damit gehen
> Fulltext indexes.
>=20
> chregu
>=20
>=20
> >=20
> > Why ?
> >=20
> > Thanks for any reply in advance.
> >=20
> > Thomas.
> >=20
>=20
>=20


--=20
Thomas Baumann=20
Dipl.-Betriebswirt (BA)

tiri.li information technology
Postfach 11 01 15
D-64216 Darmstadt
fon +49 (0) 7000 - 66 464 66
fax +49 (0) 70000 - 329 329
http://www.tiri.li

This email and any attachments are confidential and are=20
intended only for the addressee. If you are not the=20
intended recipient of this email and have received it=20
in error, please notify the sender immediately by reply=20
email and then delete it from your system.=20



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/