a search form opens automatically in which you can specify your search criteria. The search criteria you can use is similar to the criteria you can use for a single-database search. You can search for a specific word or phrase or do advanced searches which allow you to search for multiple words, word variations, synonyms defined by the thesaurus, and documents by date and category. You can also sort the search results.
Use the Advanced Search button to search using more complex search criteria.
You can select the sort options button to display sort options for simple searches.
After entering in your search criteria, simply use the Start Search button to begin your search.
@ @@ @` @
@@ @@@@@`@@
`@ `@@`@``@
Notes returns each document found in a Search Results document. Each document entry includes a document link and summary information about the document from the default view of the database the document comes from. The -Default- access for the database that stores the document must be at least Reader.
If the Designer or Manager of a database does not select the property "Show in 'Open Database' dialog," then a Search Results document for that database shows a document link but no text.
For Administrators:
You can create search sites databases that enable users to search multiple databases for information. To set up a search site database, you configure a search scope which defines the databases and the information in them that users can search. The databases can span more than one server and more than one domain but must have the property "Include in multi database indexing"
selected. You then create a full text index that indexes all the databases in the configured search scope. To search databases for information, users fill out a search form in the search site database and specify search criteria. You can create more than one search site database, each indexing a group of related databases. For example, you can create a search site database for marketing databases, another for sales databases, and another for customer service databases.
Multi-database full text indexes
A full text index created for a search site database is just like a full text index created for a single database except that it indexes multiple databases. The index is stored in a subdirectory to the Notes data directory that stores the search site database. The subdirectory name is
SEARCHSITE
.FT, where
SEARCHSITE
represents the name of the search site database without the .NSF extension.
You should plan carefully which databases and data to include in a search scope and make sure the server that stores the search site database has adequate space. Including many databases in a search scope may require a server which stores only the search site database. You can help keep the index size to a minimum by selecting the index options "Word breaks only" and "Exclude words in stop word file" when you create the index and by selecting the option "Index Summary Data" when you configure a search scope, which prevents rich text from being indexed.
Because updating the full text index of a search site database can take some time, you should select "Daily" as an update frequency so that the index updates once a day during off-hours.
How users search using a search site database
When users open search site databases, a search form opens automatically in which they can specify their search criteria. The search criteria they can use is similar to the criteria they can use for a single-database search. They can search for a specific word or phrase or do advanced searches which allow them to search for multiple words, word variations, synonyms defined by the thesaurus, and documents by date and category. They can also sort the search results.
Notes returns each document found in a Search Results document. Each document entry includes a document link and summary information about the document from the default view of the database the document comes from. The -Default- access for the database that stores the document must be at least Reader.
If the Designer or Manager of a database does not select the property "Show in 'Open Database' dialog," then a Search Results document for that database shows a document link but no text.
Defining a scope
To specify a domain as a search scope, click Domain and enter the name of the Domain.
To specify a server as a search scope, click Server and enter the name of the server.
To specify a directory on a server as a search scope, click Directory then enter the name of a server and a directory on the server relative to the Notes data directory.
To specify a specific database as a search scope, click Database and enter the name
of the server and the file name for the database.
Selecting an indexing option
The index option you select affects the size of the full text index for the search site database.
To exclude databases for the selected scope from a search, click No Index. This option excludes a database or databases and therefore adds nothing to the index size.
To index only summary data that appears in views and not rich text or attachments, click Index Summary Data (No RTF). If a search scope is wide-ranging, use this option as a way to limit the size of the full text index.
To index only summary data and rich text but not attachments, click Index Full Document.
To index summary data, rich text, and attachments, click Index Full Document and Attachments. This indexing option increases the index size the most. Notes indexes only the ASCII text in attachments and OLE object. If an attachment or OLE object is compressed, it is not indexed.
Refining a search scope
When you modify a database entry to refine a search scope (for example, change the full text index option to "No Index" to exclude the database from searching), Notes create a search scope configuration document for the database that reflects the change.
A search scope may be refined automatically according to which databases have the design property "Include in multi database indexing." For example, if this design property is selected for only ten databases on a server, you can create a search scope configuration with the server as a scope but only those ten databases are indexed.
Using updall to update the search site database
When you change configuration options and then update the search site database using the -A argument, Notes does an incremental update of the database--it doesn't update database titles and views in database documents and it only updates Server and Domain configuration documents that have changed since the last update.
You can also use the -B argument to update only the search site database and not the full text index for the search site database. For example, type
load updall
SEARCHSITE
This is useful if you change configuration options after creating the full text index.
Database views
You use any of the following views to see the databases included in a search scope:
You must enter a valid server name into the Server field.
0S0E
Server
Scope
Domain
Scope
0S0E
Filename:
Scope
0S0E
Directory:
Scope
0S0E
Pathname
Pathname
IndexOptions
No Index|0Index Summary Data (No RTF)|1Index Full Document|2Index Full Document and Attachments|3
Full Text Index options:
Categori_zeK
_Edit Document
Send Docu_ment
_Forward
_Move to Folder...
_Remove from Folder...
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
Fde!f^^
w*-1[
hT92s
$AdminSpec_O
$AdminSaved_O
$AdminSpecified_O
Elements
$TITLE
$FormUsers
$INFO
$WINDOWTITLE
$$Script_O
$$ScriptName
$BODY
$ACTIONS
Times New Roman
Task List
&Switch To
About Search Site
log is updated regularly on a schedule d
@
@@ @
`@ `
@ @@
@@@@@
@`@@`
` @`
`@@`@
``@``
What does this database do?
The Search Site database is an application which allows users to search across any number of databases using one search. Any database defined in the Search Site can be searched using the Search form. You can enter simple or advanced search criteria and receive results back in a tabulated format with a Document Link to each of the documents containing your search criteria.
Where to find more information?
More information can be found in the R4 help database, HELP.NSF.
Access Control:
The default access of a database created with this template is "Author". There is a role called [SearchSiteAdmin] in the access control list, which is associated with the "Search Scope Configuration" form and all of the views except the Private Searches view. Database managers should assign this role to anyone who is authorized to create configuration documents in the database.
Results'++LotusScript Development Environment:2:5:(Options):0:66
'++LotusScript Development Environment:2:5:(Forward):0:1
Declare Sub Querysave(Source As Notesuidocument, Continue As Variant)
'++LotusScript Development Environment:2:5:(Declarations):0:2
'++LotusScript Development Environment:2:2:BindEvents:1:129
Private Sub BindEvents(Byval Objectname_ As String)
Static Source As NOTESUIDOCUMENT
Set Source = Bind(Objectname_)
On Event Querysave From Source Call Querysave
End Sub
'++LotusScript Development Environment:2:2:Querysave:1:12
Sub Querysave(Source As Notesuidocument, Continue As Variant)
Set note = source.document
If note.ActionType(0) <> "SAVE" Then
Messagebox "You cannot save these results. If you wish to keep a copy of these results, please use the Forward action on the Actions menu.", 0, "Error"
Relevance|1Oldest first (by date)|2Newest first (by date)|3
DBName
0S0E
DBName"
?SearchSite&Query="
Query
&SearchOrder=
SortV
&SearchMax=
MaxResultsV
&SearchWV="
ExactMatch
FALSE
&SearchThesaurus=
UseThesaurus
FALSE
$$Return
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
Fde!f^^
$TITLE
$INFO
$$Script_O
$$ScriptName
$BODY
Web Search Help
Web+Search+Simple?OpenForm
0S0E
Go back to Simple Search
Web+Search+Advanced?OpenForm
0S0E
Go back to Advanced Search
FULL TEXT QUERY HELP
Typing any of these
Finds
NOT not !
documents that do not contain the condition or word following NOT
AND and &
documents that contain both the conditions or words separated by AND
OR or |
documents that contain either of the conditions or words separated by OR
ACCRUE accrue , (comma)
the same documents as OR, but increases the relevance ranking of a document when the document contains more than one matching conditon or word
documents which contain both of the words that are separated by @, as long as the words are next to each other in the documents. (Do not place spaces between @ and either word.)
Examples
Typing this text
Finds documents that contain
cat & dog & fish
all three of these words
cat | dog | fish
at least one of these words
cat, dog, fish
at least one of these words. Notes gives higher relevance to documents that contain two or three of these words
dog@fish
dog and fish next to each other
(dog AND cat) OR fish
dog and cat; fish
dog AND (cat OR fish)
dog and cat; dog and fish
dog AND NOT (cat OR fish)
dog, as long as they don't also contain cat or fish
Changing the relevance ranking of certain search words
If your database has a full text index, you can use the Termweight operator to change the relevance ranking of search words, thus increasing or decreasing their importance in the search. Documents in which the search text is most important appear at the top of the list of search results (when you sort the results by relevance).
To use the Termweight operator, type your search text as follows:
termweight 80
word1
or termweight 20
word2
where the numbers following "termweight" can be any integer from 0 - 100.
Examples of using the Termweight operator
The table below shows some examples of using the Termweight operator to change the relevance ranking of search words.
Search text
Results of search
termweight 70 video or termweight 30 audio
Finds documents that contain "video" or "audio" or both. Gives a much higher relevance to "video" than to "audio."
termweight 25 photo or termweight 75 audio or termweight 50 video
Finds documents that contain any of the words "photo," "audio," or "video." Gives the highest relevance to "audio," the next highest relevance to "video," and the least relevance to "photo."
SaveOptions
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
Fde!f^^
~NR8f
$TITLE
$INFO
$$Script_O
$$ScriptName
$BODY
11/15/96 08:30:47 PM Rob Slapikoff/Iris updated -Default-
11/15/96 08:30:31 PM Rob Slapikoff/Iris updated [LocalDomainServers]
11/15/96 08:30:29 PM Rob Slapikoff/Iris updated LocalDomainServers
10/15/96 11:14:56 AM Rob Slapikoff/Iris updated role SearchSiteAdmin
10/15/96 11:13:57 AM Rob Slapikoff/Iris updated role SearchSiteAdmi
10/14/96 04:30:23 PM Rob Slapikoff/Iris updated role SearchSiteAdmin
10/03/96 06:32:38 PM Rob Slapikoff/Iris updated [-Default-]
08/07/96 01:24:35 PM Rob Slapikoff/Iris updated [-Default-]
08/07/96 01:24:21 PM Rob Slapikoff/Iris updated [LocalDomainServers]
08/07/96 01:24:18 PM Rob Slapikoff/Iris updated [OtherDomainServers]
08/07/96 01:24:13 PM Rob Slapikoff/Iris added [OtherDomainServers]
08/07/96 01:24:06 PM Rob Slapikoff/Iris added [LocalDomainServers]
08/07/96 01:23:56 PM Rob Slapikoff/Iris added [-Default-]
08/07/96 01:23:47 PM Rob Slapikoff/Iris updated -Default-
08/07/96 01:23:33 PM Rob Slapikoff/Iris deleted Chong Soo/Iris
08/07/96 01:23:32 PM Rob Slapikoff/Iris updated OtherDomainServers
08/07/96 01:23:29 PM Rob Slapikoff/Iris updated LocalDomainServers
08/07/96 01:23:24 PM Rob Slapikoff/Iris deleted Ella
04/22/96 08:29:11 AM Chong Soo/Iris updated -Default-