searching.rst 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. Searching
  2. ===============
  3. Drupal and Tripal offer a variety of methods for searching biological content on your site. Each has it's own advantages and meets different needs. This section provides a description of several different ways to add searching. The two primary categories of search tools are content-specific and site-wide searching. The site-wide search tools typically provide a single text box that allow a user to provide a set of key words. The results of the search will span multiple content types. Often, site-wide searches allow users to quickly find content regardless of the content type. But, they sometimes lack fine-grained control for filtering. The content-specific search tools provide more fine-grained filtering for a single content type. Therefore, it is often necessary to provide multiple types of search tools for different content types.
  4. There are several options for the addition of both site-wide and content-specific search tools which include:
  5. **For site-wide searching you can:**
  6. - Use the Default Drupal Search
  7. - Use the Search API Module
  8. - Use an independent search tool. Two popular tools that integrate with Drupal include:
  9. - ElasticSearch
  10. - Apache Solr
  11. **For content-specific searching you can:**
  12. - Use the search tools that Tripal provides
  13. - Develop your own search tools using Drupal Views
  14. - Write your own custom search tools using PHP and Tripal's API functions.
  15. You may not want to consider using multiple search tools, such as a site-wide tool and content-specific tools. The following sections provide a description for use and setup of some of these different options.
  16. .. toctree::
  17. :maxdepth: 1
  18. :caption: Search Guide
  19. ./searching/default_pages
  20. ./searching/search_api
  21. ./searching/elasticsearch_module