Can this module used on JSON export views?

Created on 19 October 2022, about 2 years ago
Updated 27 May 2023, over 1 year ago

We use Search API with a REST view JSON export. Is it possible to use this module with JSON?
We have a content-search.json with facets enabled to generate a JSON export of the search results. It would be nice to use the same endpoint - or a new endpoint to use the autocomplete function of this module.

💬 Support request
Status

Fixed

Version

1.7

Component

Documentation

Created by

🇩🇪Germany vistree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇹Austria drunken monkey Vienna, Austria

    The module already uses JSON for its autocompletion (as that’s what jQuery Autocomplete uses), so yes, you can just use the exact same endpoint, I guess. You can just use the Web Developer tools in your browser to get the correct URL. E.g., for me it was this:
    http://drupal8.localhost/search_api_autocomplete/search_content?display=page_1&filter=keys&q=se

    Please re-open if there is something else you’d need for this to work.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024