Now can do complex in plugins

before, do query in parser.py then use plugins to parse log docs.
now, use plugin to get documents