Berkeley Digital Library SunSITE

SWISH-E

Searching with SWISH-E

In the SWISH-E distribution, there's a sample SWISH-E index (called sample.swish-e), and you can do a simple search on it. Try typing this:


  swish-e -f sample.swish-e -w "internet and resources and archie"

This will search the file sample.swish-e for files consisting of the words internet and resources and archie. You should get something back like this:


# SWISH-E format 1.1
search words: internet and resources and archie
# Name: Index of EIT's Web
# Saved as: sample.swish-e
# Counts: 7316 words, 94 files
# Indexed on: 12/03/95 17:50:43 PST
# Description: This is a full index of EIT's web site.
# Pointer: http://www.eit.com/cgi-bin/wwwwais/
# Maintained by: Kevin Hughes (kevinh@eit.com)
1000 http://www.eit.com/web/www.guide/guide.15.html "Guide to Cyberspace 6.1: Index/Glossary" 11566
360 http://www.eit.com/web/netservices.html "Internet Resources List" 48391
.

The results tell you:

  1. The format the results are in (so future versions of swish-e or other searching programs know this),
  2. The search words you used,
  3. Administrative information about the index (so you know who maintains it and how to find the original),
  4. A result line - this is made up of:
  5. A period. This signifies the end of the results. A line with a period always signifies the end of swish-e output.

If there are errors, instead of the results list, you may get one of the following error lines. These lines will always be prefixed with err:.

Table of Contents

Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 Hewlett-Packard Company
Originally by Kevin Hughes, kev@kevcom.com, March 11, 1994.
SWISH-E is distributed with no warranty under the terms of the GNU Public License,
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Public questions may be posted to the SWISH-E Discussion.
Document maintained at http://sunsite.berkeley.edu/SWISH-E/Manual/searching.html by the SunSITE Manager.
Last update September 9, 1998. SunSITE Manager: manager@sunsite.berkeley.edu