
Chapter 3. Sametime Bots 71
Figure 3-6 View in Notes database showing FAQs and answers
Each question document contains a question and answer, and also a field for
possible variations on the question. The ability to use this multi-valued field is a
powerful feature of Domino’s full-text search functionality. Figure 3-7 shows a
sample question document.
Figure 3-7 Sample question document showing variations and answer
Once the two Java class files (SametimeBot and FAQBot) have been deployed
to a servlet engine, the bot can be started by requesting the URL of the FAQBot
servlet in a browser:
http://yourserver/servlet/FAQBot
This will call the init() ...