\SolrSchemaMapper
Class that defines how fields should be mapped to Solr properties
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
Synopsis
class SolrSchemaMapper
{
- // members
- protected array $solrFields = ;
- // methods
- public String mapFieldNameFromType()
- public void mapValueToType()
- public mixed convertValue()
Members
protected
- $solrFields
Methods
public
- convertValue() — Convert a value to a format handled by solr
- mapFieldNameFromType() — Map a SilverStripe field to a Solr field
- mapValueToType() — Map a raw PHP value to a type