-
Notifications
You must be signed in to change notification settings - Fork 26
index fields
adam-collins edited this page Aug 23, 2015
·
1 revision
index/fields
provides SOLR field type information and mappings between SOLR fields, Cassandra columns, readable names, descriptions, Darwin Core terms and JSON keys returned by some services.
- SOLR field names.
- Defined by https://github.com/AtlasOfLivingAustralia/biocache-store/blob/master/src/main/scala/au/org/ala/biocache/index/IndexDAO.scala
- Cassandra field name.
- Mapped using column
sourceField
and SOLR field name in columnfield
by https://github.com/AtlasOfLivingAustralia/biocache-store/blob/master/src/main/resources/indexFields.txt. Only mappings that have one Cassandra field are included. Mappings for concatenated fields are omitted, e.g.names_and_lsid
.
- Readable SOLR field name.
- Defined by default https://github.com/AtlasOfLivingAustralia/biocache-service/blob/master/src/main/webapp/WEB-INF/messages.properties on ws
facets/i18n
. - SOLR field name descriptions have the prefix
facet.
e.g.facet.rank=Identified to rank
. - Layer el* and cl* descriptions are retrieved from layers-service
ws/fields
‘name’ values. - Cassandra field name descriptions appear without a prefix. If a match using the
name
is unsuccessful, a match usingdownloadName
is attempted.
- More verbose description of the SOLR field name.
- Defined by default https://github.com/AtlasOfLivingAustralia/biocache-service/blob/master/src/main/webapp/WEB-INF/messages.properties on ws
facets/i18n
with the prefixdescription.
e.g.description.kingdom.p=The kingdom the ALA has matched this record to in the NSL
. - If a match using the
name
is unsuccessful, a match usingdownloadName
is attempted.
- Darwin core term for the SOLR field name.
- Defined by default https://github.com/AtlasOfLivingAustralia/biocache-service/blob/master/src/main/webapp/WEB-INF/messages.properties on ws
facets/i18n
with the prefix ofdwc.
for SOLR field names. e.g.dwc.classs.p=class
. - If a match using the
name
is unsuccessful, a match usingdownloadName
is attempted.
- JSON keys for SOLR field names found in occurrences returned by
occurrences/search
. - Defined by https://github.com/AtlasOfLivingAustralia/biocache-service/blob/master/src/main/java/au/org/ala/biocache/dto/OccurrenceIndex.java
- This is
true
when the values in this SOLR field can be converted to a more readable form by a lookup using default https://github.com/AtlasOfLivingAustralia/biocache-service/blob/master/src/main/webapp/WEB-INF/messages.properties on wsfacets/i18n
with the prefixname.
. e.g.month.1=January
. - When
true
it also appears in the i18n asi18nvalues.month=true
- If this SOLR field is stored in the schema.
- If this SOLR field is indexed in the schema.
- The data type of this SOLR field in the schema.