====== Cross Reference Indexes ====== ==== Parameters ==== Parameters in the following table are specific to Cross Reference indexes. ^Parameter^Description^ |//Delimiterlist//|Specifies delimiters used to separate words. Valid delimiters are:\\ \\ __Value__ __Description__\\ Space - Spaces.\\ VM - Value marks.\\ SVM - Sub-value marks.\\ TM - Text marks.\\ , - Commas.\\ . - Periods.\\ - - Hyphens.\\ / - Backslashes.\\ If //delimiterlist// is null, a space is used by default.\\ \\ Note: delimiterlist is field mark delimited.| |//stoplist//|No index is maintained for words in the specified stop list. //stoplist// contains 2 columns. Column 1 is the stop list mode. Use column 2 to specify a user defined stop list (multi-valued column).\\ \\ Note: stoplist is value mark delimited.\\ \\ Available stop list modes are:\\ \\ __Value__ __Description__\\ 1 - Use the default stop list.\\ 2 - Use the default stop list, and an additional stop list you defined in field 2 of //stoplist//.\\ 3 - Create your own stop list. This list is passed in the second field of //stoplist//.\\ \\ If you choose mode 3, the second field should be passed as an @vm-delimited list. From the command line, this can be specified as follows:\\ \\ ["3",["is","and","was"] ]\\ \\ Note: If the stop list mode is 2 or 3, then delimit the stop list mode from the stop list values with a field mark. Delimit the stop list values themselves with value marks. See example below.\\ \\ \\ \\ You can view and modify the default stop list. Use the //Environment Index Settings// dialog box, reached from the indexes... button in the //Environment Management// dialog box, which is available from the //Database-Environment Settings// menu, in the Database Manager.\\ | ==== Example ==== /* code fragment for constructing the stop list before calling Create_Index */ If StopList_NO > 1 then StopList_Text = Trim(Get_Property(Stop_List$, "TEXTVAL")) Swap @tm with @vm in StopList_text If Not(Case_Sens) then Convert @lower.case to @upper.case in StopList_Text End StopList = StopList_No:@fm:StopList_Text End Else Stoplist = StopList_No End Create_Index(Xref_Index$, Filename, Column, Case_Sens, Build_Now, Dlist, StopList)