You are here

INSTALL.txt in Search API Algolia 7

Same filename and directory in other branches
  1. 8 INSTALL.txt
  2. 2.0.x INSTALL.txt
INSTALLING MODULES AND LIBRARIES
--------------------------------
 * Download the module and all of its dependencies. Move them to the contributed
   modules location in your tree (e.g. sites/all/modules).
 
 * Downlaod Algolia search client PHP library from https://github.com/algolia
   /algoliasearch-client-php and move it into the external libraries location in
   your tree (e.g /sites/all/libraries). From that location, the 
   algoliasearch.php file should be accessible from algolia/algoliasearch.php  
   (e.g. /sites/all/libraries/algolia/algoliasearch.php).
 
 * Enable the module's dependencies on the modules admin page (/admin/modules).


CONFIGURING SEARCH API SERVER AND INDEX
---------------------------------------
 * On the Search API administration page (/admin/config/search/search_api), add
   a new server and check the "Enabled" checkbox. In the "ALGOLIA" section, fill
   in your Application ID and API key found in your Algolia dashboard on 
   https://www.algolia.com.
 
 * On the Search API administration page (/admin/config/search/search_api), add
   a new index, enable it and select the server you just created in the previous
   section. The index name provided will be used to create a new index on the
   Algolia platform. Please read the "Known problems" section of the README.txt
   file for the latest updates about the type of entity supported.
 
 * On the "Fields" tab of your index
   (/admin/config/search/search_api/index/[YOUR INDEX NAME]/fields), check all
   the fields you want to have indexed in the Algolia index. At the very least,
   the entity ID field for the indexed entity type needs to be checked off (nid
   for nodes, uid for users, etc.). Please read the "Known problems" section of
   the README.txt file for the latest updates about the type of fields 
   supported.
 
 * On the "Filters" of your index (/admin/config/search/search_api/index/[YOUR
   INDEX NAME]/workflow), select the filters you want to apply before the data 
   is being sent to Algolia's servers. A good starting combination could be 
   "Bundle filter" (allowing you to index entities of certain bundles only (or 
   content types in the node realm)), "Node access" and "Exclude unpublished 
   nodes". Please read the "Known problems" section of the README.txt file for 
   the latest updates about the type of filters supported.


INDEXING CONTENT
----------------
* On your newly created index page, (/admin/config/search/search_api/index/[YOUR
  INDEX NAME]), click the "Index now" button. You should start seeing content
  populating the index in the Algolia dashboard on https://www.algolia.com.

File

INSTALL.txt
View source
  1. INSTALLING MODULES AND LIBRARIES
  2. --------------------------------
  3. * Download the module and all of its dependencies. Move them to the contributed
  4. modules location in your tree (e.g. sites/all/modules).
  5. * Downlaod Algolia search client PHP library from https://github.com/algolia
  6. /algoliasearch-client-php and move it into the external libraries location in
  7. your tree (e.g /sites/all/libraries). From that location, the
  8. algoliasearch.php file should be accessible from algolia/algoliasearch.php
  9. (e.g. /sites/all/libraries/algolia/algoliasearch.php).
  10. * Enable the module's dependencies on the modules admin page (/admin/modules).
  11. CONFIGURING SEARCH API SERVER AND INDEX
  12. ---------------------------------------
  13. * On the Search API administration page (/admin/config/search/search_api), add
  14. a new server and check the "Enabled" checkbox. In the "ALGOLIA" section, fill
  15. in your Application ID and API key found in your Algolia dashboard on
  16. https://www.algolia.com.
  17. * On the Search API administration page (/admin/config/search/search_api), add
  18. a new index, enable it and select the server you just created in the previous
  19. section. The index name provided will be used to create a new index on the
  20. Algolia platform. Please read the "Known problems" section of the README.txt
  21. file for the latest updates about the type of entity supported.
  22. * On the "Fields" tab of your index
  23. (/admin/config/search/search_api/index/[YOUR INDEX NAME]/fields), check all
  24. the fields you want to have indexed in the Algolia index. At the very least,
  25. the entity ID field for the indexed entity type needs to be checked off (nid
  26. for nodes, uid for users, etc.). Please read the "Known problems" section of
  27. the README.txt file for the latest updates about the type of fields
  28. supported.
  29. * On the "Filters" of your index (/admin/config/search/search_api/index/[YOUR
  30. INDEX NAME]/workflow), select the filters you want to apply before the data
  31. is being sent to Algolia's servers. A good starting combination could be
  32. "Bundle filter" (allowing you to index entities of certain bundles only (or
  33. content types in the node realm)), "Node access" and "Exclude unpublished
  34. nodes". Please read the "Known problems" section of the README.txt file for
  35. the latest updates about the type of filters supported.
  36. INDEXING CONTENT
  37. ----------------
  38. * On your newly created index page, (/admin/config/search/search_api/index/[YOUR
  39. INDEX NAME]), click the "Index now" button. You should start seeing content
  40. populating the index in the Algolia dashboard on https://www.algolia.com.