Github user iilyak commented on the pull request:
https://github.com/apache/couchdb-couch/pull/141#issuecomment-200032564
@eiri: I tried to understand what the tokenizer do and it was quite hard. I
had a doubt that it does work as intended in case of none clustered database.
Therefore I added the tests and discover that it indeed doesn't pass. It might
be possible that my test cases are wrong though. I'm ok with existent
implementation as long as you would add tests make them pass and factor out the
tokenizer into a function. I do agree with you that it is quite hard to make it
easier to understand because it is special case upon another special case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---