You are here

README.txt in Search API Pages 7

Same filename and directory in other branches
  1. 8 README.txt
Search API Pages
----------------

This module allows you to create simple search pages and search blocks for
searching in your Search API indexes, similar to the core Search functionality.

Installation
------------

As the only pre-requisite you will need the Search API [1] module enabled and
correctly set up, along with at least one service class. Create a server and an
index (or use the default one) and configure them according to your needs.

[1] https://drupal.org/project/search_api

Then go to admin/config/search/search_api/page on your site (Administration »
Configuration » Search and metadata » Search API » Search pages) where you can
add a search page for your index.

Common problems
---------------

- Pager not displayed
  It can sometimes happen in specific setups, that even though your search
  returns more results than appear on the page, no pager is displayed for
  browsing the other results. This will most likely be due to a second pager
  being displayed somewhere on the page, which Drupal cannot handle without some
  additional configuration. To fix this problem, locate the other pager (the one
  being displayed) on the page and attempt to change the pager element it uses.
  E.g., for Views you can change the element by going to the configuration of
  the view in question, open the pager settings and set the "Pager ID" to 1 or
  greater. This should fix the problems with the pager.
  See [2] for details, and for help if the other pager doesn't come from Views.

  [2] https://drupal.org/node/1442686

File

README.txt
View source
  1. Search API Pages
  2. ----------------
  3. This module allows you to create simple search pages and search blocks for
  4. searching in your Search API indexes, similar to the core Search functionality.
  5. Installation
  6. ------------
  7. As the only pre-requisite you will need the Search API [1] module enabled and
  8. correctly set up, along with at least one service class. Create a server and an
  9. index (or use the default one) and configure them according to your needs.
  10. [1] https://drupal.org/project/search_api
  11. Then go to admin/config/search/search_api/page on your site (Administration »
  12. Configuration » Search and metadata » Search API » Search pages) where you can
  13. add a search page for your index.
  14. Common problems
  15. ---------------
  16. - Pager not displayed
  17. It can sometimes happen in specific setups, that even though your search
  18. returns more results than appear on the page, no pager is displayed for
  19. browsing the other results. This will most likely be due to a second pager
  20. being displayed somewhere on the page, which Drupal cannot handle without some
  21. additional configuration. To fix this problem, locate the other pager (the one
  22. being displayed) on the page and attempt to change the pager element it uses.
  23. E.g., for Views you can change the element by going to the configuration of
  24. the view in question, open the pager settings and set the "Pager ID" to 1 or
  25. greater. This should fix the problems with the pager.
  26. See [2] for details, and for help if the other pager doesn't come from Views.
  27. [2] https://drupal.org/node/1442686