README.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. -- SUMMARY --
  2. The Synonyms module enriches Entities with the notion of synonyms. Currently the
  3. module provides the following functionality:
  4. * support of synonyms through Field API. Any field, for which synonyms behavior
  5. implementation exists, can be enabled as source of synonyms.
  6. * support of synonyms through Entity properties. Entity properties stored in
  7. database (as opposed to being calculated on-the-fly) can be enabled as source
  8. of synonyms.
  9. * synonyms-friendly autocomplete and select widgets for taxonomy_term_reference,
  10. entityreference, and commerce_product_reference (through Synonyms Commerce
  11. submodule) fields.
  12. * integration with Drupal search functionality through Synonyms Search
  13. submodule. It enables searching content by synonyms of the terms that the
  14. content references. Synonyms Search submodule also integrates with Term Search
  15. contributed module in a fashion that allows your terms to be found by their
  16. synonyms.
  17. * integration with Search API. If you include entity synonyms into your Search
  18. API search index, your clients will be able to find content with search
  19. keywords that contain synonyms and not actual names of entities.
  20. * integration with Views. Synonyms module provides a few filters and contextual
  21. filters that allow filtering not only by entity name but also by one of its
  22. synonyms. Synonyms module also provides a Views field for all eligible
  23. entities that contains a list of synonyms associated with the entity in
  24. question.
  25. -- REQUIREMENTS --
  26. The Synonyms module requires the following modules:
  27. * Entity API module
  28. The Synonyms module integrates with (but does not require) the following
  29. modules:
  30. * Taxonomy
  31. * Search
  32. * Term Search
  33. * Entity Reference
  34. * Views
  35. * Commerce
  36. * Features
  37. * Term Merge
  38. -- SUPPORTED SYNONYMS PROVIDERS --
  39. Module ships with ability to provide synonyms from the following locations:
  40. * "Text" field type
  41. * "Taxonomy Term Reference" field type
  42. * "Entity Reference" field type
  43. * "Commerce Product Reference" field type
  44. * "Number" field type
  45. * "Float" field type
  46. * "Decimal" field type
  47. * Entity properties stored in database
  48. Worth mentioning here: this list is easily extended further by implementing new
  49. synonyms providers in your code. Refer to Synonyms advanced help for more
  50. details on how to accomplish it.
  51. -- GRANULATION WITHIN SYNONYMS BEHAVIOR --
  52. In order to achieve greater flexibility, this module introduced additional
  53. granularity into what "synonyms" mean. This granularity is expressed via
  54. "synonyms behavior" idea whatsoever. Then you can enable different synonyms
  55. behaviors for different synonyms providers. For example, field "Typos" can be
  56. part of autocomplete behavior, while field "Other spellings" can be part of
  57. search integration behavior. Currently the following synonym behaviors are
  58. recognized (other modules actually can extend this list):
  59. * Autocomplete - whether synonyms from this provider should participate in
  60. autocomplete suggestions. This module ships with autocomplete synonyms
  61. friendly widgets and their autocomplete suggestions will be filled in with the
  62. synonyms of providers that have this behavior enabled.
  63. * Select - whether synonyms from this provider should be included in the
  64. synonyms friendly select widgets.
  65. * Search integration (requires Synonyms Search enabled) - allows your content to
  66. be found by synonyms of the terms it references. Your nodes will be found by
  67. all synonyms that have this behavior enabled.
  68. Therefore, on the Synonyms configuration page you will see a table, where rows
  69. are synonym providers and columns are these "synonym behaviors" and you decide
  70. what synonym behaviors to activate on what synonym providers.
  71. -- INSTALLATION --
  72. * Install as usual
  73. -- CONFIGURATION --
  74. * You can configure synonyms of all eligible entity types by going to Admin ->
  75. Structure -> Synonyms (admin/structure/synonyms)
  76. -- FUTURE DEVELOPMENT --
  77. * No good directions for future development are known at the moment. If you
  78. would like to suggest one, report an issue (future request) against Synonyms
  79. issue queue on Drupal.org.