2017 © Pedro Peláez
 

project acquia-search-proxy

A web service proxy for the Acquia Search service

image

acquia/acquia-search-proxy

A web service proxy for the Acquia Search service

  • Monday, August 7, 2017
  • by matthewmorley
  • Repository
  • 36 Watchers
  • 3 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 14 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Acquia Search Proxy

Build Status Scrutinizer Code Quality Latest Stable Version License, (*1)

This project is a web service proxy to the Acquia Search Service. It allows developers to expose a RESTful API to end users, build administrative interfaces for their Acquia Search indexes, etc., (*2)

Installation

NOTE: This project requires PHP >= 5.3.3, (*3)

  • Run php composer.phar install in the project's root directory
  • Choose a configuration file directory (referred to as CONF_DIR below)
    • The ./conf directory in the project's root can be used
  • Run the command line tool to authenticate the indexes you want to use
    • ./bin/acquia-search-proxy indexes:auth CONF_DIR/indexes.json
  • Copy ./conf/conf.yml.dist to CONF_DIR/conf.yml and modify accordingly
    • Set acquia.search.proxy.auth_file to CONF_DIR/indexes.json
  • Copy docroot/index.php.exampleto docroot/index.php and modify accordingly

For development, run php -S localhost:3000 -t docroot/ to start the service, and visit http://localhost:3000 to consume it., (*4)

Acquia Search Proxy is build with the Silex micro framework, so the documentation applies here., (*5)

Refer to the Acquia SDK for PHP and PSolr projects for code examples., (*6)

The Versions