FAQ: Writing Custom Query Forms

Search MITSearching Tips
Search Specific Content Areas
Search Guide for Web Publishers
Contact search@mit.edu


This page provides guidelines for writing custom query forms to be used specifically in conjunction with search.mit.edu. It is not intended as a guide for writing query forms against other search engines, either at MIT or elsewhere.

search.mit.edu is an I/S-supported search engine which indexes world-readable web pages served through webservers at MIT. It finds pages to index by "spidering", or following links, from pages it has already indexed, and it sets its own schedule to revisit pages based on how frequently they change.

For additional information about how the search engine finds, indexes and maintains information about world-readable web pages at MIT, please see http://web.mit.edu/search/help/inktomi_at_mit.html.


Quick Examples
Here are some examples of popular query forms. If you see something here that suits your needs, please use "view source" to see how it's done in the HTML. These are intended to demonstrate functionality, not beauty or design.

FAQ: Frequently Asked Questions

Defining What Your Custom Query Form Should Do
The first step in writing any custom query form is defining what you want to search for. Most web publishers will want to search their specific web site, such as the Libraries web site, or the Biology web site. You may also want to consider offering options such as also searching the MIT web site. Another option to consider is how you want the results displayed, e.g. with summaries or without, 10 or 500 results at a time.

How a Custom Query Form Works

Developing and Testing Your Custom Query Form
Once you have an understanding of what is possible and have defined how you want your custom query form to behave, and know what to expect in the results display, you are ready to write and test out your custom query form.

Why Doesn't My Query Form Work?
Here are questions to ask yourself when your form "doesn't work" as you intend.


mit Comments to search@mit.edu