0

Does anyone know how to add glossary for search index nodes? In Views+Search API you dont get glossary option in contextual filters as you get in Views with content nodes. Currently I am using grouped filter with each alphabet equal to title (trimmed to one character) but not very efficient way. Looking for a better approach. Thanks.

1

To my knowledge the Search API does not support making a Glossary listing in a Contextual Filter. The best it can do is provide Facet Searching (after a search is performed).

Solr may support this using Shingles or something to help create the Glossary item, but no such Drupal submodule exists at the moment.

0

this module can probably help some of you.
https://www.drupal.org/project/search_api_glossary
It is working on D7 and D8.

Have a good day.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.