.
HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1
212-599-2048
Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development
Chat now
.
EN - English
CN - 中文
JP - 日本語
DE - Deutsch
FR - Français
BR - Português
RU - Pу́сский
IT - Italiano
IN - हिन्दी
ES - Español
KR - 한국어
ID - Indonesia
NL - Dutch
TR - Türkçe
SA - العربية
SE - Svenska
NO - Norsk
PL - Polski
TH - ไทย
DK - Dansk
MY - Malay
PH - Filipino
GR - Ελληνικά
FI - Suomi
IL - עברית
IE - Gaeilge
CZ - Čeština
UA - Українська
RO - Română
VN - Tiếng Việt
BD - বাংলা
HU - Magyar
Need a Domino Consultant? Call NotesMail +1 212-599-2048
-
HCLSoftware Business Partner
LOTUSSCRIPT/COM/OLE CLASSES
Examples: FTSearchScore property
1. This script performs a full-text search to filter the By Category view of the current database. It then gets the full-text search score of the first document in the view and puts it into the variable score. For example, FTSearchScore returns 80.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim score As Integer
Set db = session.CurrentDatabase
Set view = db.GetView( "By Category" )
Call view.FTSearch( "blue", 0 )
Set doc = view.GetFirstDocument
score = doc.FTSearchScore
2. This script performs a full-text search on the current database and places any document whose full-text search score is greater than 90 into a folder.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim collection As NotesDocumentCollection
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set collection = db.FTSearch( "blue", 0 )
Set doc = collection.GetFirstDocument()
While Not(doc Is Nothing)
If ( doc.FTSearchScore > 90 ) Then
Call doc.PutInFolder( "Blue documents" )
Set doc = collection.GetNextDocument(doc)
End If
Wend
See Also
FTSearchScore property
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Feedback on
Help
or
Usability
?
Help on Help
All Help Contents