original-to-elastic-search-page.msd 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #//# --------------------------------------------------------------------------------------
  2. #//# Created using Sequence Diagram for Mac
  3. #//# https://www.macsequencediagram.com
  4. #//# https://itunes.apple.com/gb/app/sequence-diagram/id1195426709?mt=12
  5. #//# --------------------------------------------------------------------------------------
  6. title "Product Page Search Engine (KingKong Search)"
  7. participant User as user
  8. participant Original_Site as front
  9. participant Search_Site_Front as subsite
  10. participant Subsite_Backend as back
  11. participant Elastic_DB as elastic
  12. activate user
  13. activate front
  14. activate subsite
  15. activate back
  16. user->front: Type Keyword of Product info
  17. front->subsite: redirct to search page\n with Keyword
  18. deactivate front
  19. subsite->back: request keyword-search-get
  20. elastic->back: search contents of keyword
  21. back->subsite: respose search result page in json
  22. subsite->subsite: render search result page
  23. user->subsite: select a product
  24. activate front
  25. subsite->front: redirect back to Product Page of original site
  26. deactivate subsite
  27. front->front: render Product page
  28. front->user: waiting for user decision
  29. deactivate back
  30. deactivate user