Skip to content

Instantly share code, notes, and snippets.

@pulkitsinghal
Created April 17, 2012 03:48
Show Gist options
  • Select an option

  • Save pulkitsinghal/2403335 to your computer and use it in GitHub Desktop.

Select an option

Save pulkitsinghal/2403335 to your computer and use it in GitHub Desktop.
Does Inverse Mapping For Dynamic Attributes work?
2012-04-16 22:44:56.415 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:322 Mapping attribute value keyPath 'key_field' to '<RK_NESTING_ATTRIBUTE>'
2012-04-16 22:44:56.420 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:332 Mapped attribute value from keyPath 'key_field' to '<RK_NESTING_ATTRIBUTE>'. Value: salePrice
2012-04-16 22:44:56.447 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:322 Mapping attribute value keyPath 'from' to '(key_field).from'
2012-04-16 22:44:56.449 ElasticSearchClient[13287:fb03] W restkit.object_mapping:RKObjectMappingOperation.m:250 Destination object {
"<RK_NESTING_ATTRIBUTE>" = salePrice;
} rejected attribute value 10 for keyPath (key_field).from. Skipping...
2012-04-16 22:44:56.451 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:339 Skipped mapping of attribute value from keyPath 'from to keyPath '(key_field).from' -- value is unchanged (10)
2012-04-16 22:44:56.452 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:322 Mapping attribute value keyPath 'to' to '(key_field).to'
2012-04-16 22:44:56.454 ElasticSearchClient[13287:fb03] W restkit.object_mapping:RKObjectMappingOperation.m:250 Destination object {
"<RK_NESTING_ATTRIBUTE>" = salePrice;
} rejected attribute value 20 for keyPath (key_field).to. Skipping...
2012-04-16 22:44:56.455 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:339 Skipped mapping of attribute value from keyPath 'to to keyPath '(key_field).to' -- value is unchanged (20)
2012-04-16 22:44:56.456 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:322 Mapping attribute value keyPath 'include_lower' to '(key_field).include_lower'
2012-04-16 22:44:56.457 ElasticSearchClient[13287:fb03] W restkit.object_mapping:RKObjectMappingOperation.m:250 Destination object {
"<RK_NESTING_ATTRIBUTE>" = salePrice;
} rejected attribute value 1 for keyPath (key_field).include_lower. Skipping...
2012-04-16 22:44:56.470 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:339 Skipped mapping of attribute value from keyPath 'include_lower to keyPath '(key_field).include_lower' -- value is unchanged (1)
2012-04-16 22:44:56.471 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:322 Mapping attribute value keyPath 'include_upper' to '(key_field).include_upper'
2012-04-16 22:44:56.472 ElasticSearchClient[13287:fb03] W restkit.object_mapping:RKObjectMappingOperation.m:250 Destination object {
"<RK_NESTING_ATTRIBUTE>" = salePrice;
} rejected attribute value 0 for keyPath (key_field).include_upper. Skipping...
2012-04-16 22:44:56.473 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:339 Skipped mapping of attribute value from keyPath 'include_upper to keyPath '(key_field).include_upper' -- value is unchanged (0)
2012-04-16 22:44:56.474 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:322 Mapping attribute value keyPath 'boost' to '(key_field).boost'
2012-04-16 22:44:56.475 ElasticSearchClient[13287:fb03] W restkit.object_mapping:RKObjectMappingOperation.m:250 Destination object {
"<RK_NESTING_ATTRIBUTE>" = salePrice;
} rejected attribute value 2 for keyPath (key_field).boost. Skipping...
2012-04-16 22:44:56.477 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:339 Skipped mapping of attribute value from keyPath 'boost to keyPath '(key_field).boost' -- value is unchanged (2)
2012-04-16 22:44:56.478 ElasticSearchClient[13287:fb03] D restkit.object_mapping:RKObjectMappingOperation.m:624 Finished mapping operation successfully...
2012-04-16 22:44:56.480 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:582 Mapped relationship object from keyPath 'range' to 'range'. Value: {
"<RK_NESTING_ATTRIBUTE>" = salePrice;
}
2012-04-16 22:44:56.481 ElasticSearchClient[13287:fb03] D restkit.object_mapping:RKObjectMappingOperation.m:624 Finished mapping operation successfully...
2012-04-16 22:44:56.482 ElasticSearchClient[13287:fb03] T restkit.object_mapping:RKObjectMappingOperation.m:558 Mapped relationship object from keyPath 'must' to 'must'. Value: (
{
range = {
"<RK_NESTING_ATTRIBUTE>" = salePrice;
};
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment