changed "editsection" pattern.
indexer commits every 10000 documents, for efficient memory usage.
Support several Magic word templates.