Blog Archives

Adding Metatag Keywords to Search API Index

For a great explanation of the implementation below, please visit http://enzolutions.com/articles/2015/06/02/how-to-add-customs-fields-to-solr-index-using-entity-api-amp-search-api/ The following demonstrates how to add metatag keywords (from the Metatag module) to your Search API fields list, so that you can index them and make them searchable.

Tagged with: , , , ,
Posted in Development

Sorting by Specific Fields with Apache Solr

Recently I had to configure an Apache Solr search page to have the results sorted by a date field. We’re using the apachesolr module, which has a number of useful hooks, two of which we’ll use to accomplish this custom sort.

Tagged with: , , , , ,
Posted in Development