Re: Livesearch

Christian Stocker <[email protected]> Wed, 22 Jun 2005 13:24:32 +0200
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>

On 22.6.2005 7:35 Uhr, Thomas Baumann wrote:
> phpmyadmin meldet:
>  Die Index-Typen INDEX und PRIMARY sollten nicht gleichzeitig f=FCr die=
 Spalte
> `id` gesetzt sein.
> Diesen Fehler habe ich durch=20
> ALTER TABLE `bxcms_blogposts` DROP INDEX `ID`;
> gel=F6st.
>=20
> =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
>=20
> 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.

Welche Version hast du? Vom CMS mein ich :) Eine neuere, also vom Trunk,
resp 1.3?

Kannst du mal

http://yourdomain.com/admin/webinc/update/

aufrufen? Nachdem du eingeloggt hast ;)

die post_keywords spalte haben wir n=E4mlich wieder abgeschafft. Evt.
funktioniert darum der FULLTEXT index ned.

Evt. auch index nochmals neu machen lassen nachher.

chregu

>=20
> Wenn ich aber jetzt unter http://tirili.zyklopedie.de/en/blog/
> nach "share" suche, kommt noch immer kein Ergebnis, obgleich das Wort i=
m
> body des Blogs auftaucht.=20
>=20
> Tabellentyp ist MyISAM. MySQL 4.1.7 Fedora Core 2
>=20
> Danke f=FCr die weitere Hilfe im voraus.
>=20
> Liebe Gr=FC=DFe
>=20
> - tom
>=20
> Zitat von Christian Stocker <[email protected]>:
>=20
>=20
>>
>>On 21.6.2005 8:44 Uhr, Thomas Baumann wrote:
>>
>>>How does Livesearch search ?
>>>
>>>Look at: http://tirili.zyklopedie.de/blog/
>>>
>>>And look at the contents: "...Filter zum Blocken von Spam-Mails..."
>>>
>>>But when i perform a Livesearch for "Blo.." then there is
>>>nothing found in fulltext.=20
>>
>>Kannst du mal =FCberpr=FCfen, ob die Tabelle bxcms_blogposts einen FULL=
TEXT
>>index auf  "post_content, post_title" hat, also:
>>
>>FULLTEXT KEY `post_content` (`post_content`,`post_title`)
>>
>>Wenn ja, nimm ihn mal raus und mach ihn neu. Ich hatte auch schon das
>>Problem, dass der irgendwie nicht generiert wurde.
>>
>>Wenn nein, hast du MyISAM als Tabellentypen? Weil nur damit gehen
>>Fulltext indexes.
>>
>>chregu
>>
>>
>>
>>>Why ?
>>>
>>>Thanks for any reply in advance.
>>>
>>>Thomas.
>>>
>>
>>
>=20
>=20

--=20
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB