|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Search for XML tutorials : Sorry, no results found
Hello,
I searched for « XML » tutorials (I selected it from the combobox) and got : « Sorry, no results found ». But we both know that 2 XML tutorials were written for codewalkers * PDF new tutorials rock JM |
|
#2
|
||||
|
||||
|
RE: Search for XML tutorials : Sorry, no results found
The search only works for words longer than 3 letters. With all the TLA (Three Letter Acronyms), maybe that should be changed... Matt?
|
|
#3
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
i got 14 results by searching for "extensible markup language"
|
|
#4
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
that would give much bigger mysql table indexes, and somewhat slower search..
|
|
#5
|
||||
|
||||
|
RE: Search for XML tutorials : Sorry, no results found
I realize the trade off, but maybe it would make sense to do it for just the tutorials.
|
|
#6
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
There is an XML link on the tutorial page...why should the search function be changed if XML tutorials are that easy to find????
|
|
#7
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
I use MySQL fulltext searching. To index 3 character words would require a change to source code and a recompile of MySQL.
This is why I haven't done it in the past. If you really think it should be so, make your arguements here. I will listen to all reasonable arguements |
|
#8
|
||||
|
||||
|
RE: Search for XML tutorials : Sorry, no results found
If you upgrade to 4.0, it's just a variable change, server restart, and index rebuilding. But I remember there were problems all over when you tried to upgrade, so it's probably not worth it. Too bad it's not on a table or index basis instead.
Without knowing the actual size and speed trade-offs that come from changing the length from 4 to 3, and without stats on how many searches are done using useful three letter words (do you log searches?), I don't think I can effectively argue for or against changing it. |
|
#9
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
I'll run some tests on a machine at work. I'll install MySQL 4 with 4 char minimum and dump in the messages table from the forum. I'll benchmark that. Then I'll decrease to 3 char and rebuild indexes and benchmark that.
Then I'll also benchmark MySQL 3.23 with 4 char minimum and 3 char minimum... |
|
#10
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
We are running on MySQL 4 now. I set the char limit down to 3. The only gotcha is that searching for XML in tutorials still doesn't work. I store all the tutorials in XML format, so they all contain the work XML in them. MySQL's fulltext search doesn't return results if it matches more than 50% of rows.
Doh! |
|
#11
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
how about this: you add a separate search column that will have the tutorial text without all the xml tags (striped out with strip_tags()).
so use only text for fulltext searching, but use the original xml code for presentation? |
|
#12
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
searching tutorials
i searched for "date" and it found no results. i searched for "dates" - 2 results |
|
#13
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
date is also a tag in the XML, that is why it brings up no results.
Good idea zombie, I was actually thinking the same myself. I will make it happen in just a little while.. |
|
#14
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
Done.....
|
|
#15
|
|||
|
|||
|
RE: Search for XML tutorials : Sorry, no results found
that was fast!
|
![]() |
| Viewing: Codewalkers Forums > Forum Information > Suggestions & Feedback > Search for XML tutorials : Sorry, no results found |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|