ACCC Home Page ACADEMIC COMPUTING and COMMUNICATIONS CENTER
Accounts / Passwords Email Labs / Classrooms Telecom Network Security Software Computing and Network Services Education / Teaching Getting Help
 
Web Searching / Indexing
0 Contents 1 Google 2 Intro 3 What's Indexed 4 Fields & Queries
5 Forms 6 Output 7 Examples A1 Related Links  

Use a Google Search form

   
 
     
Two Search Engines
 

You now have the option of using the Google search engine in a custom form to search your departmental pages. The other documents in this group of pages relate to the old UIC Search engine, based on a locally run Netscape Search server. That is still an option, and still provides some extra flexibility, but using Google is simpler and usually produces better results.

 
     
Google -- Pros and Cons
 

Advantages of Google:

  • Simple
  • Good results -- excellent relevancy algorithm
Advantages of UIC Search:
  • More advanced search options (but often not needed).
  • More control over output format
  • Pages are indexed several times/week, instead of perhaps once/month, so changes show up sooner.

 
     
Google Example
 

There are not a lot of options here. Make a normal html form, with the proper action pointing to google, and one hidden element to designate your departmental web pages. Here is an example to search the ACCC web pages:

Query:
Which is to say:
<form action="http://www.google.com/u/uiatc" method=get>
Query: <input type=text name="q">
<input type=hidden name=hq value="inurl:www.uic.edu/depts/accc">
<input type=submit value="Google Search">
</form>

That's pretty much it. Set the input widget named "q" for the user's query. (Or, I suppose, you could hard-code that if you just wanted a simple link to produce a hard-coded search.) And set the widget named "hq" to point to your departmental page directory. Of course, use the <form> tag above verbatim.

 
 

Web Search Forms Previous: 0 Contents Next: 2 Intro


2002-6-29  wwwtech@uic.edu
UIC Home Page Search UIC Pages Contact UIC