RE: CreateFTIndex issue shishir p srivastava 22.Jul.09 02:17 AM a Web browser Domino Designer 6.5.6; 6.5.5 FP3; 6.5.5 FP2; 6.5.5 FP1; 6.5.5; 6.5.4 FP3; 6.5.4 FP2; 6.5.4 FP1; 6.5.4; 6.5.3 FP2; 6.5.3 FP1; 6.5.3; 6.5.2 FP1; 6.5.2; 6.5.1; 6.5Windows XP
Well there will be many ways to achieve this,
but i would approach it in following manner
1. Create a checkbox field
2. The choices for checkbox are the index options with alias as their long value
FTINDEX_ALL_BREAKS |4
FTINDEX_ATTACHED_BIN_FILES |16
FTINDEX_ATTACHED_FILES |1
.....
3. let user make selection in checkbox.
4. on execution of button/script , iterate through the item values, make a sum (after converting the value to long,since value returned will be string) and pass that value to createFT index method.
However, I must add that CreateFTindex works only for local databases.
You must use UpdateFtIndex for databases on server,although ,it does not accept indexing choices as a parameter.
Further it would not create index if one is already not existing (for databases on server)