User Thesaurus Plus can be used to import and edit Macro files for use with dtSearch. These files are used when you perform a search, for example if you enter a macro such as @IRC in the Search dialog,  dtSearch  will replace that term with internal revenue code in the actual search query.


Macros are useful for frequently used search terms to save typing a long query. There is no need to have more than one word or phrase, unlike a synonym file where it is always necessary to have more than one word or phrase in the set of synonyms (also referred to as a synset, synonym set or synonym ring).


To import a macro file, from the File menu choose Import synonym/Macro file..., User Thesaurus Plus will automatically recognise that it is a macro file and will change the user interface accordingly  (see Fig 8).




Fig 8. Macro import


sample_macros.xml file:


<?xml version="1.0" encoding="UTF-8" ?>




<Expansion>internal revenue code</Expansion>