Search API Title #2
Categories
Component ID
2304119
Component name
Search API Title #2
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1899
Component created
Component changed
Component body
Provide a duplicate field for title to allow Search API Sorts to use it.
Usually, title field is indexed with the "Full text" type. Which disable "Search API Sorts" to use it.
This module will duplicate content of title under a new field. So you'll be able to index this new one with "String" type which is supported by "Search API Sorts".
Once enable and correctly setup, you'll need to reindex all documents.
Requirements
This module is based on Search API.
The Search API Sorts is required only if you want to use this new field as sort one.
Installation and configuration
- Put the module in sites/all/modules folder
- enable the module and any sub-module(s) you want
- add/modify a Search API index
- setup new field
- enable field : "Title #2" using "String" type
- enable sorting : on "Sorts" tab, enable this field and rename it if needed
- reindex all documents
Credits
Original idea & sponsoring : Actualys
