Federation Services uses Solr’s “schemaless” mode, which update a core’s schema automatically based on the first occurrence of a field. We use suffixes to tell Solr what type of field should be mapped. Use the table below as a guide.
If you wish to not append suffixes to your field names, you will need to update the core’s schema.xml file inside the Solr application.
| Suffix (Single) | Suffix (multi) | Type | Description |
|---|---|---|---|
| _t | _txt | text_general | Indexed for full-text search so individual words or phrases may be matched. |
| _s | _ss | string | A string value is indexed as a single unit. This is good for sorting, faceting, and analytics. It’s not good for full-text search. |
| _i | _is | int | a 32-bit signed integer |
| _l | _ls | long | a 64-bit signed long |
| _f | _fs | float | IEEE 32 bit floating point number (single precision) |
| _d | _ds | double | IEEE 64 bit floating point number (double precision) |
| _b | _bs | boolean | true or false |
| _dt | _dts | date | A date in Solr’s date format |
| _p | NA | location | A latitude and longitude pair for geo-spatial search |