{"action":"reopened","issue":{"url":"https://api.github.com/repos/toptal/chewy/issues/300","labels_url":"https://api.github.com/repos/toptal/chewy/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/toptal/chewy/issues/300/comments","events_url":"https://api.github.com/repos/toptal/chewy/issues/300/events","html_url":"https://github.com/toptal/chewy/issues/300","id":122631010,"number":300,"title":"best way to share custom tokenizers/analyzers","user":{"login":"mlchai","id":58732,"avatar_url":"https://avatars.githubusercontent.com/u/58732?v=3","gravatar_id":"","url":"https://api.github.com/users/mlchai","html_url":"https://github.com/mlchai","followers_url":"https://api.github.com/users/mlchai/followers","following_url":"https://api.github.com/users/mlchai/following{/other_user}","gists_url":"https://api.github.com/users/mlchai/gists{/gist_id}","starred_url":"https://api.github.com/users/mlchai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlchai/subscriptions","organizations_url":"https://api.github.com/users/mlchai/orgs","repos_url":"https://api.github.com/users/mlchai/repos","events_url":"https://api.github.com/users/mlchai/events{/privacy}","received_events_url":"https://api.github.com/users/mlchai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-16T23:53:57Z","updated_at":"2016-01-04T22:19:27Z","closed_at":null,"body":"At the moment I'm creating a BaseIndex class that inherits from Chewy::Index, and making my other indices inherit from BaseIndex. Inside BaseIndex I only have definitions for custom tokenizers/analyzers that the indices use. However, when I run rake chewy:reset it creates an empty index called \"base\". I'd like it to not do that, but if it's not possible to disable that how can I share my custom code across indices?"}}