Revision 7529
Added by Jing Tao over 11 years ago
docs/user/metacat/source/query-index.rst | ||
---|---|---|
163 | 163 |
|
164 | 164 |
class MetacatSolrIndex { |
165 | 165 |
- List<IDocumentSubprocessor> subprocessors |
166 |
- SolorFiledParser solrFieldParser
|
|
166 |
- IDocumentSubprocessorFactory subprocessorFactory
|
|
167 | 167 |
- EmbeddedSolrServer solrServer |
168 | 168 |
+ insert(String pid, InputStream data) |
169 | 169 |
+ update(String pid, InputStream data) |
... | ... | |
171 | 171 |
+ OutputStream query(String solrQuery) |
172 | 172 |
} |
173 | 173 |
|
174 |
class SolrFieldParser { |
|
175 |
- List<SolrField> solrFields |
|
176 |
+ SolrFieldParser(InputStream config) |
|
177 |
+ List<SolrField> getSolrFields() |
|
174 |
class IDocumentSubprocessorFactory { |
|
175 |
+ IDocumentSubprocessor getIDocumentSubprocessor(InputStream config) |
|
178 | 176 |
} |
179 | 177 |
|
180 | 178 |
} |
181 | 179 |
|
182 | 180 |
MetacatSolrIndex *--"1" EmbeddedSolrServer |
183 |
MetacatSolrIndex --> SolrFieldParser
|
|
181 |
MetacatSolrIndex --> IDocumentSubprocessorFactory
|
|
184 | 182 |
MetacatSolrIndex o--"*" IDocumentSubprocessor |
185 |
SolrFieldParser --> SolrField
|
|
183 |
IDocumentSubprocessorFactory --> IDocumentSubprocessor
|
|
186 | 184 |
|
187 | 185 |
|
188 | 186 |
|
Also available in: Unified diff
Change the name of the class SolrFieldParser to IDocumentSubprocessorFactory.