Allow for a custom analyzer

Default analyzer lowercases everything.
We probably need to fix this better.