Download & Extend

Services Search

This module provides a Services resource that enables a remote application to search for content and users on your site using Drupal core's search features. It's developed for Services 7.x-3.x as a reimplementation of the search service that was available in Services 6.x-2.x. If someone wants to help maintain this project going forward, they're more than welcome!

Requirements

Usage

To expose your site's search feature as a JSON REST service, follow these steps:

  1. Create a new Services endpoint with a path of your choice, e.g. services. Choose the REST server.
  2. Edit the endpoint's resources and check search_node and/or search_user.
  3. Edit the server settings and choose JSON as formatter.
  4. Try the service's URLs in a browser:
    • http://my.server.com/services/search_node/retrieve.json?keys=test for content search.
    • http://my.server.com/services/search_node/retrieve.json?keys=test&simple=1 for content search with a simpler result format.
    • http://my.server.com/services/search_user/retrieve.json?keys=name for user search.

Credits

Based on the search service in the 6.x version of Services. Development supported by RFSU (Swedish Association for Sexuality Education) and SthlmConnection.

Downloads

Recommended releases

Version Downloads Date Links
7.x-3.0 tar.gz (8.22 KB) | zip (9.03 KB) 2012-Mar-28 Notes

Development releases

Version Downloads Date Links
7.x-3.x-dev tar.gz (8.22 KB) | zip (9.03 KB) 2011-Dec-07 Notes

Project Information


Maintainers for Services Search

  • zoo33 - 2 commits
    last: 24 weeks ago, first: 38 weeks ago

Issues for Services Search

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports