Complete Contents
Introduction
Chapter 1 Using Netshare
Chapter 2 About Web Server Publishing
Chapter 3 Installing and Configuring
Chapter 4 Web Publisher Quickstart
Chapter 5 Services and Menus
Chapter 6 Search
Chapter 7 Access Control
PreviousNextContents




Chapter 6 Using Search

The Web Publisher search function provides you with the ability to search the file information and contents of documents on a remote server. The server indexes the files so that you can use your web browser to view the documents that are found for your search.

This chapter discusses these topics:

Preparing Data for Searching
To enable searching capability on your server, the server administrator begins by identifying the documents that you want to be able to search. Before you can execute searches, you need a database of searchable data against which you can target your searches. Your server administrator has to create a document information database, called a collection, that indexes and stores the content and file properties for each of the documents you want to be able to search.

In the case of Web Publisher, there is a default web publishing collection that contains all the documents that you have published, uploaded, or otherwise manipulated through Web Publisher. Your server administrator can also do bulk indexing of web publishing data for you, for example, by indexing all the documents in the document directory defined for Web Publisher.

Collections contain such information as the format of the documents, the language they are in, their searchable attributes, the number of documents in the collection, the collection's status, and a brief description of the collection. For more details, see the section "Displaying Collection Contents."

This section discusses these topics:

Performing a Search: The Basics
Users are primarily concerned with querying the data in the search collections and getting a list of documents in return. The default installation of the iPlanet Web server includes a set of search query and result pages to allow users a quick and easy way of doing searches.

You can search through server documents for a specific word or attribute value, obtaining a set of search results that list all documents that match the query. You can then select a document from the list to browse it in its entirety. This provides easy access to server content.

There are four parts to text searching:

Using the Query Operators
To perform an effective search, you need to know how to use the query operators. You can only do Boolean searches, so all the subsequent information is based on Boolean search rules.

Note
The query language is not case-sensitive. The examples use uppercase for clarity only.

The search engine interprets the search query based on a set of syntax rules. For example, by entering the word region, the actual word region and all its stemmed variations (such as regions and regional) are found. The search results are ranked for "importance," which means how close the matched word comes to the originally input search criteria. In the example above, region would rank higher than any of the stemmed variants.

Not all queries rank their results. For example, queries that check whether a given string matches the value in a field cannot perform a comparison: either the string matches the value or it doesn't. The same is true for checking whether a string is contained in a field, or begins or ends a field.

This section discusses these topics:

 

© Copyright 2022 Sun Microsystems, Inc. Some preexisting portions Copyright 2022 Netscape Communications Corp. All rights reserved.