SunQuest
           Suggestions & Feedback
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsForum InformationSuggestions & Feedback

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old February 4th, 2004, 08:50 PM
goa103 goa103 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Lyon, Rhône Alpes, France
Posts: 24 goa103 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old February 4th, 2004, 09:38 PM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
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?

Reply With Quote
  #3  
Old February 4th, 2004, 11:57 PM
brewthatistrue brewthatistrue is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: CA, USA
Posts: 277 brewthatistrue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 sec
Reputation Power: 2
RE: Search for XML tutorials : Sorry, no results found

i got 14 results by searching for "extensible markup language"

Reply With Quote
  #4  
Old February 5th, 2004, 12:04 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Search for XML tutorials : Sorry, no results found

that would give much bigger mysql table indexes, and somewhat slower search..

Reply With Quote
  #5  
Old February 5th, 2004, 12:29 AM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
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.

Reply With Quote
  #6  
Old February 5th, 2004, 01:38 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
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????

Reply With Quote
  #7  
Old February 5th, 2004, 01:45 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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 .

Reply With Quote
  #8  
Old February 5th, 2004, 02:36 AM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
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.

Reply With Quote
  #9  
Old February 5th, 2004, 02:49 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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...


Reply With Quote
  #10  
Old February 7th, 2004, 02:31 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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!

Reply With Quote
  #11  
Old February 7th, 2004, 05:23 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
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?

Reply With Quote
  #12  
Old February 7th, 2004, 06:03 AM
brewthatistrue brewthatistrue is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: CA, USA
Posts: 277 brewthatistrue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 sec
Reputation Power: 2
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

Reply With Quote
  #13  
Old February 7th, 2004, 06:05 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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..


Reply With Quote
  #14  
Old February 7th, 2004, 11:36 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Search for XML tutorials : Sorry, no results found

Done.....

Reply With Quote
  #15  
Old February 8th, 2004, 12:59 AM
brewthatistrue brewthatistrue is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: CA, USA
Posts: 277 brewthatistrue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 sec
Reputation Power: 2
RE: Search for XML tutorials : Sorry, no results found

that was fast!

Reply With Quote
Reply

Viewing: Codewalkers ForumsForum InformationSuggestions & Feedback > Search for XML tutorials : Sorry, no results found


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |