Project

General

Profile

Revision 7532

add ObjectPathMap reference for an indication about how we might read the bytes of a science metadata file for generating the index events.

View differences:

query-index.rst
174 174
			+ remove(String pid)
175 175
		}
176 176

  
177
		class DocumentEventListener {
177
		class SystemMetadataEventListener {
178 178
			- SolrIndex solrIndex
179
			- IMap systemMetadataMap
180
			+ entryAdded()
181
			+ entryUpdated()
182
			+ entryRemoved()
179
			- IMap hzSystemMetadata
180
			- IMap hzObjectPath
181
			+ entryAdded(EntryEvent<Identifier, SystemMetadata>)
182
			+ entryUpdated(EntryEvent<Identifier, SystemMetadata>)
183
			+ entryRemoved(EntryEvent<Identifier, SystemMetadata>)
183 184
		}
184 185
	
185 186
	}
......
187 188
	package "Metacat (webapp)" {
188 189
		  
189 190
		class MetacatSolrIndex {
190
			+ query()
191
			- SolrServer solrServer
192
			+ InputStream query(SolrQuery)
191 193
		}
192 194
		
193 195
		class HazelcastService {
194
			- IMap systemMetadataMap
196
			- IMap hzSystemMetadata
195 197
		}
198
		
199
		class ObjectPathMap {
200
			- IMap hzObjectPath
201
		}
196 202
	}
197 203
	
198
	MetacatSolrIndex *--"1" SolrServer
199
	HazelcastService .. DocumentEventListener
204
	MetacatSolrIndex o--"1" SolrServer
205
	HazelcastService .. SystemMetadataEventListener
206
	ObjectPathMap .. SystemMetadataEventListener
200 207
	
201
	SolrIndex *--"1" SolrServer	
202
	SolrIndex "1"--o DocumentEventListener
208
	SolrIndex o--"1" SolrServer	
209
	SolrIndex "1"--o SystemMetadataEventListener
203 210
	SolrIndex o--"*" IDocumentSubprocessor: Assembled using Spring bean configuration
204 211
	
205 212
	

Also available in: Unified diff