XTF Under the Hood:
The bulk of the XTF system is concerned with searching XML documents for text in various ways, and displaying the results in several forms. A brute-force search of each word in each document, every time a user made a query, would be extremely inefficient, so the textIndexer tool is used to compile all of the documents into what is called an "inverted index". In essence, this index is similar to that in the back of a book: for each word, it points to all the locations that word appears in all of the documents that have been indexed.