public class SearchDocGenerator extends Object
| Constructor and Description |
|---|
SearchDocGenerator(File configDirectory,
File outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
checkForSubstring(OutputString outputString,
ExtendedExtrinsicObject extObject,
gov.nasa.jpl.oodt.cas.metadata.Metadata metadata)
Extract the attribute/slot/association from the String
specified and query the Registry for the value to replace
it wit.
|
void |
generate(ExtrinsicObject extrinsic,
gov.nasa.jpl.oodt.cas.metadata.Metadata metadata)
Generate the Solr document file for the given extrinsic object.
|
public SearchDocGenerator(File configDirectory, File outputDirectory) throws SearchCoreException, SearchCoreFatalException
public void generate(ExtrinsicObject extrinsic, gov.nasa.jpl.oodt.cas.metadata.Metadata metadata) throws Exception
extrinsic - Extrinsic object.metadata - Metadata associated with the given extrinsic object.Exception - If an error occurred while generating the document file.protected String checkForSubstring(OutputString outputString, ExtendedExtrinsicObject extObject, gov.nasa.jpl.oodt.cas.metadata.Metadata metadata) throws Exception
outputString - input string from configextObject - extrinsic object.metadata - metadata associated with the given extrinsic object.ExceptionCopyright © 2010–2018 Planetary Data System. All rights reserved.