diff --git a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-BUILD.xml b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-BUILD.xml index cc2ca6c59de..ce1f7a21ab2 100644 --- a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-BUILD.xml +++ b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-BUILD.xml @@ -703,6 +703,15 @@ BUILD(Vehicles,SearchTerms,Payload,'vkey::st.city2'); nameKey := INDEX(mainTable,{surname,forename,filepos},'name.idx'); BUILD(nameKey); //gets all info from the INDEX definition + + You can also use this form to build an index based upon two MERGEd + indexes. To write a MERGEd index to disk, you must use the BUILD + action. + + Example: + + BUILD(MERGE(idx1,idx2,'~idx::MergedIndex'); + diff --git a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-MERGE.xml b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-MERGE.xml index 67c96a10256..9fd42996221 100644 --- a/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-MERGE.xml +++ b/docs/EN_US/ECLLanguageReference/ECLR_mods/BltInFunc-MERGE.xml @@ -169,9 +169,14 @@ recordsetset. This is particularly useful for incremental data updates as it allows you to merge a smaller set of new records into an existing large dataset or index without having to re-process - all the source data again. The recordsetset form makes - merging a variable number of datasets possible when used inside a GRAPH - function. + all the source data again. + + The recordsetset form makes merging a variable + number of datasets possible when used inside a GRAPH function. + + To write a MERGEd index to disk, you must use the BUILD action. + + Example: @@ -192,4 +197,6 @@ ds4 := MERGE(SetDS,SORTED(letter,number)); OUTPUT(ds3); OUTPUT(ds4); + + See Also: BUILD