Mailinglisten-Archive |
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_00018E25.3D46A943
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hallo,
nun denn,wie es der Zufall so will habe ich das Problem selber gel=F6st bzw. meinen Fehler gefunden.
Also an alle die es interessiert!!!
Man muss, wenn man so wie ich optional in den Spalten suchen will, jeder erdenklichen Kombination einen Fulltext-Index verpassen. D.h.
Bei 3 Spalten
index1 =3D Spalte1
index2 =3D Spalte2
index3 =3D Spalte3
index4 =3D Spalte1 und Spalte2
index5 =3D Spalte1 und Spalte3
index6 =3D Spalte2 und Spalte3
index7 =3D Spalte1 und spalte2 und Spalte3
Wohl gemerkt....das sind die Kombinationen bei 3 Spalten. Ich will mir jetzt auch nicht ausrechnen wieviele Kombinationen es bei 10 oder 20 w=E4ren...ist mir auch egal.
Allerdings w=E4re es eine Anregung an die MySql-Crew diese Fulltext-Suche zu verbessern.
Ich habe n=E4mlich ein paar graue Haare mehr bekommen! :-)
Ich hoffe ich konnte auch anderen damit helfen.
Original Message processed by Tobit InfoCenter
Subject: Problem Volltextsuche (29-Jul-2002 18:37)
From: m.beck_(at)_bn-automation.de
To: m.beck_(at)_bn-automation.de
Hallo,
ich mache mit folgender Select Anweisung eine Fulltextsuche.
SELECT * FROM tblTabelle WHERE MATCH (Spalte1, Spalte2) AGAINST ('Suchwort')
leider kommt folgende Meldung im Browser
Microsoft OLE DB Provider for ODBC Drivers- Fehler '80004005'
[MySQL][ODBC 3.51 Driver][mysqld-4.0.1-alpha-nt]Kann keinen FULLTEXT-Index finden der der Spaltenliste entspricht
Was ist hier das Problem? Ich habe jeder Spalte einen Fullindex mit eigenem Namen gegeben.
Ich benutze ein Win2000Server System & MySql 4.0.1 & MyODBC 3.51.
wenn ich die SQL-Anweisung vereinfache (die 2.spalte weglasse)
SELECT * FROM tblTabelle WHERE MATCH (Spalte1) AGAINST ('Suchwort')
kommt zwar keine Fehlermeldung, aber er bringt mir auch Ergebnisse in dem vom 'Suchwort' weit und breit nichts zu sehen ist.
Wer kann mir helfen?
P.S.
OK, OK:
Windows =3D konnte ich mir nicht aussuchen
MySql 4.0.1 =3D benutzt wegen 'MATCH AGAINST' Suche
MyODBC 3.51 =3D aktueller Treiber
-> also bitte sagt nicht ich solle was anderes nehmen :-)
------_=_NextPart_000_00018E25.3D46A943
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY style=3D"FONT: 10pt Courier New" leftMargin=3D5 topMargin=3D5>
<DIV style=3D"FONT: 10pt Courier New">Hallo,</DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New">nun denn,wie es der Zufall so will habe ich
das Problem selber gel=F6st bzw. meinen Fehler gefunden.</DIV>
<DIV style=3D"FONT: 10pt Courier New"><FONT color=3D#0000ff>Also an alle die es
interessiert!!!</FONT></DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New">Man muss, wenn man so wie ich optional in
den Spalten suchen will, jeder erdenklichen Kombination einen Fulltext-Index
verpassen. D.h. </DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New"><U>Bei 3 Spalten</U></DIV>
<DIV style=3D"FONT: 10pt Courier New"><U></U> </DIV>
<DIV style=3D"FONT: 10pt Courier New">index1 =3D Spalte1</DIV>
<DIV style=3D"FONT: 10pt Courier New">index2 =3D Spalte2</DIV>
<DIV style=3D"FONT: 10pt Courier New">index3 =3D Spalte3</DIV>
<DIV style=3D"FONT: 10pt Courier New">index4 =3D Spalte1 und Spalte2</DIV>
<DIV style=3D"FONT: 10pt Courier New">index5 =3D Spalte1 und Spalte3</DIV>
<DIV style=3D"FONT: 10pt Courier New">index6 =3D Spalte2 und Spalte3</DIV>
<DIV style=3D"FONT: 10pt Courier New">index7 =3D Spalte1 und spalte2 und
Spalte3</DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New"><FONT id=3D"">W</FONT>ohl gemerkt....das sind
die Kombinationen bei 3 Spalten. Ich will mir jetzt auch nicht ausrechnen
wieviele Kombinationen es bei 10 oder 20 w=E4ren...ist mir auch egal.</DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New">Allerdings w=E4re es eine Anregung an die
MySql-Crew diese Fulltext-Suche zu verbessern.</DIV>
<DIV style=3D"FONT: 10pt Courier New">Ich habe n=E4mlich ein paar graue Haare mehr
bekommen! :-)</DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New">Ich hoffe ich konnte auch anderen damit
helfen.</DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<DIV style=3D"FONT: 10pt Courier New"> </DIV>
<BLOCKQUOTE
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<TABLE
style=3D"BORDER-LEFT-WIDTH: 0px; BORDER-LEFT-COLOR: #efefef; FONT: 10pt Arial; COLOR: black; BORDER-TOP-COLOR: #efefef; BORDER-BOTTOM: #efefef 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-RIGHT-COLOR: #efefef"
cellSpacing=3D0 cols=3D2 cellPadding=3D0 width=3D"99%" bgColor=3D#dfdfdf border=3D0>
<TBODY>
<TR borderColor=3D#dfdfdf borderColorLight=3D#dfdfdf bgColor=3D#dfdfdf>
<TD style=3D"PADDING-LEFT: 4px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
width=3D120>
<DIV style=3D"FONT: bold 9pt Arial">Original
Message </DIV></TD>
<TD align=3Dright>
<DIV style=3D"FONT: 8pt Arial"><STRONG><FONT color=3D#808080> processed
by Tobit InfoCenter</FONT></STRONG> </DIV></TD></TR>
<TR style=3D"PADDING-BOTTOM: 2px" bgColor=3D#efefef>
<TD style=3D"PADDING-LEFT: 4px" width=3D80 bgColor=3D#efefef>
<DIV style=3D"FONT: bold 9pt Arial">Subject: </DIV></TD>
<TD bgColor=3D#efefef><FONT face=3DArial,Helvetica><FONT size=3D-1>Problem
Volltextsuche (29-Jul-2002 18:37)</FONT></FONT></TD></TR>
<TR style=3D"PADDING-BOTTOM: 2px" bgColor=3D#efefef>
<TD style=3D"PADDING-LEFT: 4px" width=3D80 bgColor=3D#efefef>
<DIV style=3D"FONT: bold 9pt Arial">From: </DIV></TD>
<TD bgColor=3D#efefef><FONT face=3DArial,Helvetica><FONT size=3D-1><A
href=3D"mailto:m.beck_(at)_bn-automation.de">m.beck_(at)_bn-automation.de</A></FONT></FONT></TD></TR>
<TR style=3D"PADDING-BOTTOM: 4px" bgColor=3D#efefef>
<TD style=3D"PADDING-LEFT: 4px" width=3D80 bgColor=3D#efefef>
<DIV
style=3D"FONT: bold 9pt Arial">To: </DIV></TD>
<TD><FONT face=3DArial,Helvetica><FONT size=3D-1><A
href=3D"mailto:m.beck_(at)_bn-automation.de">m.beck_(at)_bn-automation.de</A></FONT></FONT></TD></TR></TBODY></TABLE>
<DIV> </DIV>
<DIV>Hallo,</DIV>
<DIV> </DIV>
<DIV>ich mache mit folgender Select Anweisung eine Fulltextsuche.</DIV>
<DIV> </DIV>
<DIV><FONT color=3D#ff0000>SELECT * FROM tblTabelle WHERE MATCH (Spalte1,
Spalte2) AGAINST ('Suchwort')<BR></FONT></DIV>
<DIV><FONT color=3D#ff0000><FONT color=3D#000000>leider kommt folgende Meldung im
Browser</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#ff0000>Microsoft OLE DB Provider for ODBC Drivers<FONT
face=3D"Times New Roman" size=3D3>- </FONT><FONT face=3DArial size=3D2>Fehler
'80004005'</FONT><FONT face=3D"Times New Roman" size=3D3> </FONT></FONT></DIV>
<DIV><FONT color=3D#ff0000><FONT face=3DArial size=3D2>[MySQL][ODBC 3.51
Driver][mysqld-4.0.1-alpha-nt]Kann keinen FULLTEXT-Index finden der der
Spaltenliste entspricht</FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000></FONT> </DIV>
<DIV><FONT face=3DArial>Was ist hier das Problem? Ich habe jeder Spalte einen
Fullindex mit eigenem Namen gegeben.<BR>Ich benutze ein Win2000Server System
& MySql 4.0.1 & MyODBC 3.51.</FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial>wenn ich die SQL-Anweisung vereinfache (die 2.spalte
weglasse)</FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial><FONT color=3D#ff0000>SELECT * FROM tblTabelle WHERE MATCH
(Spalte1) AGAINST ('Suchwort')</FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#ff0000></FONT></FONT> </DIV>
<DIV><FONT face=3DArial><FONT id=3D"" color=3D#000000>kommt zwar keine
Fehlermeldung, aber er bringt mir auch Ergebnisse in dem vom 'Suchwort' weit
und breit nichts zu sehen ist.</FONT></DIV>
<DIV></FONT><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial>Wer kann mir helfen?</FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial>P.S.</FONT></DIV>
<DIV><FONT face=3DArial>OK, OK: </FONT></DIV>
<DIV><FONT face=3DArial>Windows =3D konnte ich mir nicht aussuchen</FONT></DIV>
<DIV><FONT face=3DArial>MySql 4.0.1 =3D benutzt wegen 'MATCH AGAINST'
Suche</FONT></DIV>
<DIV><FONT face=3DArial>MyODBC 3.51 =3D aktueller Treiber</FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial>-> also bitte sagt nicht ich solle was anderes nehmen
:-)</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_000_00018E25.3D46A943--
---
Infos zur Mailingliste, zur Teilnahme und zum An- und Abmelden unter
-->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive