don't test fields in solr_prepare that are unused.
@@ -24,8 +24,8 @@ def debug_harvest():
pprint(ind.prepare_title(obj))
print('abstract')
pprint(ind.prepare_abstract(obj))
- print('author_raw')
- pprint(ind.prepare_author_raw(obj))
+ # print('author_raw')
+ # pprint(ind.prepare_author_raw(obj))
print('author')
pprint(ind.prepare_author(obj))
print('author_url')
@@ -40,8 +40,8 @@ def debug_harvest():
pprint(ind.prepare_organization(obj))
print('publisher')
pprint(ind.prepare_publisher(obj))
- print('creator_email')
- pprint(ind.prepare_creator_email(obj))
+ # print('creator_email')
+ # pprint(ind.prepare_creator_email(obj))
print('availability')
pprint(ind.prepare_availability(obj))
print('replaced')
@@ -80,14 +80,14 @@ def debug_harvest():
pprint(ind.prepare_resource_type(obj))
print('comment')
pprint(ind.prepare_comment(obj))
- print('comments_count')
- pprint(ind.prepare_comments_count(obj))
+ # print('comments_count')
+ # pprint(ind.prepare_comments_count(obj))
print('owner_login')
pprint(ind.prepare_owner_login(obj))
print('owner')
pprint(ind.prepare_owner(obj))
- print('owners_count')
- pprint(ind.prepare_owners_count(obj))
+ # print('owners_count')
+ # pprint(ind.prepare_owners_count(obj))
print('geometry_type')
pprint(ind.prepare_geometry_type(obj))
print('field_name')
@@ -120,8 +120,8 @@ def debug_harvest():
pprint(ind.prepare_units(obj))
print('units_type')
pprint(ind.prepare_units_type(obj))
- print('aggregation_statistics')
- pprint(ind.prepare_aggregation_statistics(obj))
+ # print('aggregation_statistics')
+ # pprint(ind.prepare_aggregation_statistics(obj))
print('absolute_url')
pprint(ind.prepare_absolute_url(obj))
print('extra')
