CreateFTIndex parameters

LMS is creating automatically discussion databases from a template. The problem is that they are not FTIndexed.I have created agent to create that index with different values for the parameters, but I always get the same result - only CaseSensitive option is checked (even is I don’t put it in).

I want to index attachments, but the server seems to NOT understand me.

I have searched the Domino 7 forum as well but no solution found. Anybody here managed to go through this?

Subject: I use the code identical to the one …

… presented in the help database.The agent is scheduled and runs on server. The server has manager access to the database and has all roles available, and the database was signed with current server’s ID.

In case that matters…

Subject: Parameters

  1. What is the value of the parameter that are you passing to the CreateFTIndex, to indicate that Attachments should be a part of the Full Text Index AND how are you passing that value?2. How are you passing the value of the parameter to indicate which options should be used when creating the Full Text Index?

  2. Have you tried passing the value of the parameter directly-to the method?

Example: Call db.CreateFTIndex(FTINDEX_ATTACHED_FILES, True)

Here is a TechNote you can reference which lists different ways of using the options for a Full Text Index using the CreateFTIndex method in LotusScript:

Title: The LotusScript CreateFTIndex Method doesn’t use the Options Parameter as Expected

Doc #: 1172696

URL: http://www.ibm.com/support/docview.wss?rs=899&uid=swg21172696

Subject: Still doesn’t work

Before posting I have tried everything described in the help database and 7 forum with no result. From the tech note from you Evan, tI have’t tried only that variant

options=FTINDEX_ATTACHED_BIN_FILES

Call db.CreateFTIndex(Clng(options), True)

The result form this is worst - there is no option checked. There is some kind of index created, but sure the attachments are not indexed. For the testing I have only two documents and the search can’t find anything in the attachment.

Sad…

But thank you Evan for your response.

Subject: Contact IBM Lotus Support

Unless you have already, try:

options&=FTINDEX_ATTACHED_BIN_FILES + FTINDEX_ATTACHED_FILES

Call db.CreateFTIndex(options&, True)

Otherwise, contact IBM Lotus Support for assistance in resolving this problem.