Thank you very much, garvinhicking.
I read more articles about it then before,and I knew
that I have partly break the rule "search before ask".
Then I spend some time to test .But I failed again.
Hope what I will type below do not break the rule.
I have just install the latest cvs(s9y_200501141338.tar.gz)
then I do like before(I have do a wrong copy with mysql command that i have done before,sorry for bother you!).
Code: Select all
mysql -useuser -p se
mysql>CREATE FULLTEXT INDEX entry_idx on serendipity_entries (title,body,extended);
mysql give"error 0,warning 0"
I am using mysql in gentoo linux,
here is the information about version and compiling:
Code: Select all
emerge -pv mysql
dev-db/mysql-4.0.23 +berkdb -debug -innodb +perl +readline (-selinux) +ssl -static -tcpd 0 kB
Then I got "No entry found" result.
But after a few minutes(I only switched language between english and chinese during this time) ,I can search english text!
Unfortunately,the same problems appeared.Some of Chinese
chars and english chars can't be searched!
for english example:
Code: Select all
example
This is a example to be searched!
Here is the content.:D
I can search this entry by key with "searched" or "content",
such as:
"be searched"
"is the content"
.
I guess that space means "or" to search.
On the other examples,not the last word can be searched:
This entry can be searched by "test"!
Only word more than three chars can be indexed to be searched?
No, I can't search the first example entry("This is a example to be searched!") with key "example"!
I am puzzled.
And I can find nothing regular when I searche chinese.
What should I do to let all of the entried can be searched
by any string longer than 3 chars and no time relay?