Suggestions, Bugs, and Comments Request changes you'd like to see and report any bugs you encounter.

Go Back  Xtreme .NET Talk > General Discussion > Suggestions, Bugs, and Comments > Search Functionality


Reply
 
Thread Tools Display Modes
  #1  
Old 08-27-2003, 05:44 PM
tonofsteel tonofsteel is offline
Freshman
 
Join Date: Jul 2003
Posts: 35
tonofsteel is on a distinguished road
Default Search Functionality

I have been trying to search many things, but the minimum length of a word to search for I find is ridiculous, especially for a programming forum. Key Codes cannot be searched because of this. API Functions, For Loops, and many more cannot be searched. Sure you can get functions, but you get too many results and most of them are not even related to API. How do you search anything API for that matter.

There is probably a reason for this so someone inform me about this
Reply With Quote
  #2  
Old 08-27-2003, 05:53 PM
Volte Volte is offline
Neutiquam Erro

Preferred language:
C# and VB.NET
 
Join Date: Nov 2002
Posts: 2,171
Volte is on a distinguished road
Default

Every word that you ever enter into a forum post is indexed in the database for searching, which, obviously, can get extremely large. However, since there are so many common short words, indexing words such as "the" and "as" would cause the size of the database to increase significantly. It would also force a reindex of the database (using up bandwidth) and probably slow the forum down significantly as well.
Reply With Quote
  #3  
Old 08-27-2003, 10:37 PM
John's Avatar
John John is offline
Junior Contributor

Preferred language:
C#
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 255
John is on a distinguished road
Default Re: Search Functionality

Quote:
Originally posted by tonofsteel
...How do you search anything API for that matter...
What is wrong with searching by API name: ShellExecute, or constant name: WM_CREATE?
__________________
"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
  #4  
Old 08-28-2003, 03:36 AM
pjv pjv is offline
Regular
 
Join Date: Jul 2003
Location: Oxford, UK
Posts: 86
pjv is on a distinguished road
Default

You might be searching to find that stuff out?

Pete
Reply With Quote
  #5  
Old 08-28-2003, 07:54 AM
tonofsteel tonofsteel is offline
Freshman
 
Join Date: Jul 2003
Posts: 35
tonofsteel is on a distinguished road
Default

Yea just what pjv said, searching for an API function that does......
Anyways what VolteFace said makes sense so I guess gotta live with whats there.
Reply With Quote
  #6  
Old 08-28-2003, 10:32 AM
Volte Volte is offline
Neutiquam Erro

Preferred language:
C# and VB.NET
 
Join Date: Nov 2002
Posts: 2,171
Volte is on a distinguished road
Default

If you want to search for something like 'OCX' you can search for 'OCX*' -- it will search for all words beginning with OCX, but there aren't many of those. This might not work for somethings, obviously, like 'COM*' since there are many words that start with COM.
Reply With Quote
  #7  
Old 08-28-2003, 11:38 AM
Nerseus's Avatar
Nerseus Nerseus is offline
Danner

Preferred language:
C#
 
Join Date: Oct 2002
Location: Arizona, USA
Posts: 2,547
Nerseus is on a distinguished road
Default

You're searching for APIs, FOR Loops and more... but nothing specific? It sounds like you might want a website that shows tutorials and guides for beginners? The forums are more for problems or issues that people need help with (with the exception of the Tutors Corner and the Code Library forums).

Check out the various FAQs at the top of the forums.

-Ner
__________________
"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Reply With Quote
  #8  
Old 08-28-2003, 05:44 PM
tonofsteel tonofsteel is offline
Freshman
 
Join Date: Jul 2003
Posts: 35
tonofsteel is on a distinguished road
Default

Some times I forget something particular about something. Such as the step function of a for loop, and instead of hunting through 50 sites with 200 tutorials for the one line of comment that i need, so instead i just search old stuff here to see if some newbie like me asked the question before.

Its not a big deal really I was only curious as to why
Reply With Quote
  #9  
Old 08-28-2003, 06:29 PM
Nerseus's Avatar
Nerseus Nerseus is offline
Danner

Preferred language:
C#
 
Join Date: Oct 2002
Location: Arizona, USA
Posts: 2,547
Nerseus is on a distinguished road
Default

Well for syntax, you can check the MSDN library. For APIs, I use google (but you must know the exact API name).

As a rule of thumb, it's a good idea to keep a little code repository for yourself. It could be a bunch of txt files, a bunch of small projects (what I generally do), or a custom tool that stores code snippets and lets you organize them and search them. It will be invaluable as you learn more and more coding tips. I guestimate that once you have about 50 tips packed away in your head you start losing one for about every 10 new ones you pick up.

-Nerseus
__________________
"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Reply With Quote
  #10  
Old 08-29-2003, 09:00 AM
tonofsteel tonofsteel is offline
Freshman
 
Join Date: Jul 2003
Posts: 35
tonofsteel is on a distinguished road
Default

Thats a very good tip. I was wondering if professional programmers that program for a living just remember everything or if they do have to keep referring back to code examples and text books. But I will keep what you said in mind, thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Canceling AcceptButton functionality Yarko Windows Forms 4 05-20-2006 07:15 PM
Encapsualte Functionality RobEmDee General 1 03-27-2003 02:16 AM

Advertisement:

Powered by liquidweb