mappingbuilder circular reference issue

 I found that by trying to save a spatial4j Point object using a repository that MappingBuilder threw a StackOverFlow exception because it contains a circular reference to a field Point class called 'center'.  mapEntity method recursively calls itself and has no way to avoid infinite loops. Commited a test with dummy object CircularObject that contains a reference to itself as a field.

 First commit was to build a list of previously visited classes. Second commit was to change this to be an property on the Field annotation with idea that users can specify the fields that should be ignored when mapping the objects. This doesn't stop lazy users being stung but should be more configurable.
mappingbuilder circular reference issue

 I found that by trying to save a spatial4j Point object using a repository that MappingBuilder threw a StackOverFlow exception because it contains a circular reference to a field Point class called 'center'.  mapEntity method recursively calls itself and has no way to avoid infinite loops. Commited a test with dummy object CircularObject that contains a reference to itself as a field.

 First commit was to build a list of previously visited classes. Second commit was to change this to be an property on the Field annotation with idea that users can specify the fields that should be ignored when mapping the objects. This doesn't stop lazy users being stung but should be more configurable.
Merge remote-tracking branch 'origin/master'
Added skipping of fields that are marked using spring data @Transient annotation
Merge remote-tracking branch 'upstream/master'
Added simple fix for infinite recursion in entity mapping if class contains a field of same type as the class. In such case will skip that field.
Added test for infinite recursion mapping.
DATAES-26 - added support for histogram facets
Update README.md
Merge pull request #9 from stuartstevenson/master

MappingBuilder circular reference issue
DATAES-28 : Upgrade to elasticsearch 0.90.5
DATAES-23 : Add support for Nested Type (Root level initially)
DATAES-23 : Person object should user in memory store type
Merge branch 'master' of https://github.com/javamachr/spring-data-elasticsearch into javamachr-master

Add support for @Transient annotation to skip fields from mapping
Update README.md
ISSUE #20 - added more tests to cover this case
Merge branch 'master' of https://github.com/spring-projects/spring-data-elasticsearch
ISSUE #20 - added more tests to cover complex custom repository with manual wiring
DATAES-32 : Upgrade to elasticsearch 0.90.6
DATAES-29, ISSUE #16 - added interface EntityMapper to allow for custom implementation and configuration for ObjectMapper