{"action":"created","issue":{"url":"https://api.github.com/repos/iverberk/larasearch/issues/82","labels_url":"https://api.github.com/repos/iverberk/larasearch/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/iverberk/larasearch/issues/82/comments","events_url":"https://api.github.com/repos/iverberk/larasearch/issues/82/events","html_url":"https://github.com/iverberk/larasearch/issues/82","id":71942040,"number":82,"title":"Auto indexing","user":{"login":"smithdp1","id":6412355,"avatar_url":"https://avatars.githubusercontent.com/u/6412355?v=3","gravatar_id":"","url":"https://api.github.com/users/smithdp1","html_url":"https://github.com/smithdp1","followers_url":"https://api.github.com/users/smithdp1/followers","following_url":"https://api.github.com/users/smithdp1/following{/other_user}","gists_url":"https://api.github.com/users/smithdp1/gists{/gist_id}","starred_url":"https://api.github.com/users/smithdp1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smithdp1/subscriptions","organizations_url":"https://api.github.com/users/smithdp1/orgs","repos_url":"https://api.github.com/users/smithdp1/repos","events_url":"https://api.github.com/users/smithdp1/events{/privacy}","received_events_url":"https://api.github.com/users/smithdp1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-29T17:52:42Z","updated_at":"2015-05-05T15:59:36Z","closed_at":null,"body":"I am confused on auto indexing. I cannot get it to work.\r\n\r\nMy model.\r\n\r\n```\r\nuse Iverberk\\Larasearch\\Traits\\SearchableTrait;\r\n\r\nclass Membership extends \\Eloquent {\r\n\r\n\t// enable eleasticsearch\r\n\tuse SearchableTrait;\r\n```\r\n\r\nThis does not get auto indexed when new Membership record is posted to database. I have also seen this in docs. CallableTrait.\r\n\r\nI have tried this on my model.\r\n\r\n```\r\nuse Iverberk\\Larasearch\\Traits\\SearchableTrait;\r\nuse Iverberk\\Larasearch\\Traits\\CallableTrait;\r\n\r\nclass Membership extends \\Eloquent {\r\n\r\n\t// enable eleasticsearch\r\n\tuse SearchableTrait;\r\n        use CallableTrait;\r\n```\r\n\r\nAnd get this error.\r\n\r\n```\r\nTrait method bootCallableTrait has not been applied, because there are collisions with other trait methods on Membership\r\n\r\n```\r\nHow do i get Membership auto indexed when new records are posted?"},"comment":{"url":"https://api.github.com/repos/iverberk/larasearch/issues/comments/99124180","html_url":"https://github.com/iverberk/larasearch/issues/82#issuecomment-99124180","issue_url":"https://api.github.com/repos/iverberk/larasearch/issues/82","id":99124180,"user":{"login":"smithdp1","id":6412355,"avatar_url":"https://avatars.githubusercontent.com/u/6412355?v=3","gravatar_id":"","url":"https://api.github.com/users/smithdp1","html_url":"https://github.com/smithdp1","followers_url":"https://api.github.com/users/smithdp1/followers","following_url":"https://api.github.com/users/smithdp1/following{/other_user}","gists_url":"https://api.github.com/users/smithdp1/gists{/gist_id}","starred_url":"https://api.github.com/users/smithdp1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smithdp1/subscriptions","organizations_url":"https://api.github.com/users/smithdp1/orgs","repos_url":"https://api.github.com/users/smithdp1/repos","events_url":"https://api.github.com/users/smithdp1/events{/privacy}","received_events_url":"https://api.github.com/users/smithdp1/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T15:59:36Z","updated_at":"2015-05-05T15:59:36Z","body":"pfeiferchristopher\r\nthanks for the advice. I have properly written the paths.json file and it has been saved to:\r\n```\r\n/app/config/packages/iverberk/larasearch/paths.json\r\n```\r\nI have also checked the logs and no errors there. I was wondering is there a way to call something like the below manually?\r\n```\r\n$membership = new Membership;\r\n\r\n$membership->save();\r\n\r\n$membership->reIndex();\r\n```\r\nJust running out of options and trying to maybe force it somehow. \r\nThanks again for everybody's help!"}}