discovery-indexer 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5832ec09da815addec754b900bdc8c28a041170e
4
- data.tar.gz: 134053c91fee23252964c8cc4576fb18474f146c
3
+ metadata.gz: 782083854e48dc2d4eb84129fa0be8220b744d61
4
+ data.tar.gz: 2254225e0ae86615d18df5740897befbfa21bee3
5
5
  SHA512:
6
- metadata.gz: ed43b5782b703dbdbe555690c29c4c7aedf1846b85647b3018e8c739dd7244ba06f62220ae919ccf9291bbc0abd1044c31a2e5f1f585f5b8864b69dfa9c8964d
7
- data.tar.gz: c62cd9bebcb34a3f2faf7f87b7ecbed63ae3c17e3d028f80c0f7d00a5d716bcd85b5f73e9d61c0e347a558f6027021984d914ac51c4af423b09ae19bc8859cbc
6
+ metadata.gz: adbf9e6bf24966429b5d123188e380ce62b3f2f8a59862828e7fb809e959161bb0f0f8e13a86a8068afad85cc799c969675556c7e2528590f0854b75cc404773
7
+ data.tar.gz: 7dec7f7b0bdfd595a977304cd3a3db30a4dfa52d049a12709b40da7b163857d9bb50ff391dc60010a3f22396fdfa4bf6ab88cc53b179d0918a90fe0cc2b0d4a2
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DiscoveryIndexer
2
- VERSION = '0.9.3'
2
+ VERSION = '0.9.4'
3
3
  end
@@ -41,16 +41,18 @@ module DiscoveryIndexer
41
41
  DiscoveryIndexer::Logging.logger.debug "Attempt #{attempt} for #{id}"
42
42
 
43
43
  if is_delete
44
+ DiscoveryIndexer::Logging.logger.info "Deleting #{id} on attempt #{attempt}"
44
45
  solr_connector.delete_by_id(id)
45
- DiscoveryIndexer::Logging.logger.info "Successfully deleted #{id} on attempt #{attempt}"
46
46
  elsif allow_update?(solr_connector) && doc_exists?(id,solr_connector)
47
+ DiscoveryIndexer::Logging.logger.info "Updating #{id} on attempt #{attempt}"
47
48
  update_solr_doc(id,solr_doc,solr_connector)
48
- DiscoveryIndexer::Logging.logger.info "Successfully updated #{id} on attempt #{attempt}"
49
49
  else
50
+ DiscoveryIndexer::Logging.logger.info "Indexing #{id} on attempt #{attempt}"
50
51
  solr_connector.add(solr_doc)
51
- DiscoveryIndexer::Logging.logger.info "Successfully indexed #{id} on attempt #{attempt}"
52
52
  end
53
53
  solr_connector.commit
54
+ DiscoveryIndexer::Logging.logger.info "Completing #{id} successfully on attempt #{attempt}"
55
+
54
56
  end
55
57
  end
56
58
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discovery-indexer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmed AlSum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri