Search is a bit WIP at the moment. Results will always search names, portraits, and text. The third option does nothing.
Well aren't you special? Luckily the search has a nojs option.
Valid parameters are:
Example usage: http://gfl.amaryllisworks.pw:18881/search?q=Honkai+Energy&lang=en&type=json
For HTTPS use port 8880 instead of 18881