Class MarcToSolrParameters
java.lang.Object
de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
de.gwdg.metadataqa.marc.cli.parameters.MarcToSolrParameters
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
alephseq, args, cmd, dataSource, DEFAULT_MARC_VERSION, DEFAULT_OUTPUT_DIR, defaultEncoding, defaultRecordType, doHelp, doLog, fixAlephseq, fixAlma, fixKbr, id, ignorableFields, ignorableRecords, limit, lineSeparated, marcFormat, marcVersion, marcxml, offset, options, parser, recordFilter, recordIgnorator, stream, trimId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrClientbooleanbooleanbooleanbooleanbooleanvoidsetFieldPrefix(String fieldPrefix) voidsetMainClient(org.apache.solr.client.solrj.SolrClient mainClient) protected voidvoidsetValidationClient(org.apache.solr.client.solrj.SolrClient validationClient) Methods inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
doHelp, doLog, fixAlephseq, fixAlma, fixKbr, getAlephseqLineType, getArgs, getDataSource, getDefaultEncoding, getDefaultRecordType, getGroupBy, getGroupListFile, getId, getIgnorableFields, getLimit, getMarcFormat, getMarcVersion, getOffset, getOptions, getOutputDir, getPicaIdField, getPicaRecordTypeField, getPicaSchemaFile, getPicaSubfieldSeparator, getProcessRecordsWithoutId, getRecordFilter, getRecordIgnorator, getReplacementInControlFields, getSchemaType, getSolrForScoresUrl, getStream, getTrimId, hasId, isAlephseq, isLineSeparated, isMarc21, isMarcxml, isPica, isUnimarc, setAlephseq, setDataSource, setDataSource, setDefaultRecordType, setDefaultRecordType, setDoHelp, setDoLog, setFixAlephseq, setFixAlma, setFixKbr, setId, setIgnorableFields, setLimit, setLineSeparated, setMarcFormat, setMarcFormat, setMarcVersion, setMarcVersion, setMarcxml, setOffset, setOutputDir, setPicaIdField, setPicaSubfieldSeparator, setProcessRecordsWithoutId, setRecordFilter, setRecordIgnorator, setStream, setTrimId
-
Constructor Details
-
MarcToSolrParameters
public MarcToSolrParameters() -
MarcToSolrParameters
- Throws:
org.apache.commons.cli.ParseException
-
-
Method Details
-
setOptions
protected void setOptions()- Overrides:
setOptionsin classCommonParameters
-
getSolrUrl
-
isDoCommit
public boolean isDoCommit() -
getSolrFieldType
-
getMainClient
public org.apache.solr.client.solrj.SolrClient getMainClient() -
setMainClient
public void setMainClient(org.apache.solr.client.solrj.SolrClient mainClient) -
getValidationClient
public org.apache.solr.client.solrj.SolrClient getValidationClient() -
setValidationClient
public void setValidationClient(org.apache.solr.client.solrj.SolrClient validationClient) -
isUseEmbedded
public boolean isUseEmbedded() -
isIndexWithTokenizedField
public boolean isIndexWithTokenizedField() -
getCommitAt
public int getCommitAt() -
isIndexFieldCounts
public boolean isIndexFieldCounts() -
isIndexSubfieldCounts
public boolean isIndexSubfieldCounts() -
getFieldPrefix
-
setFieldPrefix
-
formatParameters
- Overrides:
formatParametersin classCommonParameters
-