pattern search
Merge https://github.com/QScience/patterns_server