added path support, see http://www.elasticsearch.org/guide/reference/mapping/id-field/
Merge pull request #293 from FriendsOfSymfony/add-path-support

added path support