public class IndexingModel extends Object
ContentType
Modifier and Type | Field and Description |
---|---|
private Map<String,Map<String,List<String>>> |
_fieldReferences
The indexing field references.
|
private Map<String,IndexingField> |
_fields |
Constructor and Description |
---|
IndexingModel()
Build an empty indexing model.
|
Modifier and Type | Method and Description |
---|---|
void |
addIndexingField(IndexingField field)
Add a indexing field
|
IndexingField |
getField(String fieldName)
Get the indexing field by its name
|
Set<String> |
getFieldNames()
Get the indexing fields' names
|
Collection<IndexingField> |
getFields()
Get the indexing fields
|
Map<String,Map<String,List<String>>> |
getReferences()
Get the indexing field references.
|
void |
setReferences(Map<String,Map<String,List<String>>> references)
Set the indexing field references.
|
private Map<String,IndexingField> _fields
public IndexingModel()
public void addIndexingField(IndexingField field)
field
- The field to addpublic Collection<IndexingField> getFields()
public Set<String> getFieldNames()
public IndexingField getField(String fieldName)
fieldName
- The field namepublic Map<String,Map<String,List<String>>> getReferences()