Project

General

Profile

« Previous | Next » 

Revision 7527

Added by Jing Tao over 11 years ago

Add a new class SolrFieldParser and remove some classes like GenericIndex.

View differences:

docs/user/metacat/source/query-index.rst
125 125
	
126 126
	AbstractDocumentSubprocessor o--"*" ISolrField
127 127
	
128
	package metacat.index {
128
	package edu.ucsb.nceas.metacat.indexer {
129 129
		  
130 130
		class MetacatIndex {
131
			- GenericIndex index
132
			+ insert(String pid, InputStream)
133
			+ update(String pid, InputStream)
131
			- List<IDocumentSubprocessor> subprocessors
132
			- List<SolrField> sysmetaFields
133
			- SolorFiledParser solrFieldParser
134
			- EmbeddedSolrServer solrServer
135
			+ insert(String pid, InputStream data)
136
			+ update(String pid, InputStream data)
134 137
			+ remove(String pid)
135 138
			+ OutputStream query(String solrQuery)
136 139
		}
137 140
		
138
		class GenericIndex {
141
		class SolrFieldParser {
142
		     - List<SolrField> solrFields
143
		     + SolrFieldParser(InputStream config)
144
		     + List<SolrField> getSolrFields()
139 145
		}
140
		class SolrjIndex {
141
		}
142
		class Embedded {
143
		}
144 146
	
145 147
	}
146 148
	
147
	GenericIndex <|-- SolrjIndex		
148
	SolrjIndex <|-- Embedded		
149 149

  
150 150
	package solr {
151 151
		  
......
164 164
	SolrServer <|-- EmbeddedSolrServer
165 165
	SolrServer <|-- HttpSolrServer
166 166
	
167
	SolrjIndex o--"1" HttpSolrServer
168
	Embedded o--"1" EmbeddedSolrServer
169
	MetacatIndex o--"1" GenericIndex
167
	
170 168
  
171 169
  @enduml

Also available in: Unified diff