public interface Schema
Modifier and Type | Method and Description |
---|---|
void |
addExtractableField(String label,
String jsonPath)
Add a single field to the map of extractable fields.
|
List<Category> |
getCategories() |
List<JsonBranch> |
getCollectionPaths()
Return collection paths.
|
Map<String,String> |
getExtractableFields()
Get fields for which the values should be extracted from the records.
|
List<FieldGroup> |
getFieldGroups()
Field groups used in completeness sub-dimensions.
|
Format |
getFormat() |
List<String> |
getNoLanguageFields()
List of field which can be skipped in the language extraction.
|
JsonBranch |
getPathByLabel(String label)
Returns a path by its label.
|
List<JsonBranch> |
getPaths()
The list of fields to investigate in most of the measurements.
|
List<JsonBranch> |
getRootChildrenPaths()
Return the paths of root's direct children.
|
List<RuleChecker> |
getRuleCheckers() |
Map<String,String> |
getSolrFields()
Map of fields covered in TF-IDF extraction.
|
void |
setExtractableFields(Map<String,String> extractableFields)
Set the extractable fields.
|
Format getFormat()
List<JsonBranch> getCollectionPaths()
List<JsonBranch> getRootChildrenPaths()
List<JsonBranch> getPaths()
JsonBranch getPathByLabel(String label)
label
- The label to look for.List<FieldGroup> getFieldGroups()
List<String> getNoLanguageFields()
Map<String,String> getSolrFields()
solrFields.put("Proxy/dc:title", "dc_title_txt");
Map<String,String> getExtractableFields()
void setExtractableFields(Map<String,String> extractableFields)
extractableFields
- The extractable fields.getExtractableFields()
void addExtractableField(String label, String jsonPath)
label
- The label of the field.jsonPath
- JSON path expression.List<RuleChecker> getRuleCheckers()
Copyright © 2020. All rights reserved.