Philippe,

Monday, February 11, 2002, 12:28:47 PM, you wrote:

P> Hello,

P> I make an fulltext index on a column 'detailannonce' of a table 'apptcv'.

P> When I made this select :
P> SELECT apptcv.*, match (detailannonce) against (' jardin ') as relevance 
P> FROM apptcv WHERE match (detailannonce) against ('jardin')>0 HAVING 
relevance>0 ORDER BY relevance DESC
P> I didn't have any row in result.

P> If I made this another select :
P> SELECT apptcv.* FROM apptcv WHERE detailannonce like '%jardin%'
P> I had about 6000 rows resulted.

P> And, if in the first select, I'm replace 'jardin' by 'piscine' or 
P> another word, It's work fine and I have correct result.

P> What's about the word 'jardin' ? It is a word reserved by Mysql, or 
P> perhaps it is in my stop list, but I did'nt find the file containing the 
P> stop list in my system (max OS X)

It's a peculiar property of Full-text search. If the word is present
in more than half of rows in the table, it has zero relevance.

For more help look at: http://www.mysql.com/doc/F/u/Fulltext_Search.html

P> Thanks for yours responses.
P> Greetings
P> Philippe BARRIELLE




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to