adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
744 stars 752 forks source link

[Search] Create search result component #517

Open kweku5 opened 5 years ago

kweku5 commented 5 years ago

Feature Request

As an AEM Author, I want a search results page that displays page results from a search term entered in the search field, so I can provide search a results page as a core component.

Details:

Search Results page contains:

  1. The component should call an endpoint and pass it a keyword then generate a JSON result that includes:
    • Result items
    • Title
    • Tags
    • Description
    • Publish Date
    • Author
    • Total Results (to generate the total pages with 10/20 per page)
  2. facets
    • Category Tags
    • Total (items matching tags)

      Acceptance Criteria:

  3. Author is able to add search component to a page
  4. Author is able to configure:
    • Facets
      • Include categories yes/no (default no)
      • If yes:
        • option opens to navigate to Tag group
        • select a tag root
      • Selected tag root will be displayed as Category label
      • All content with category tag will be displayed
  5. Default total for page results 10/20/40 (or enter a #)
  6. User is able to see results displayed matching criteria
  7. User is able to select Category filter and results re-load with matching filter
  8. User is able to turn off facets/categories image
JasonUSC commented 5 years ago

Regarding search facets, I would want a bit more flexibility:

  1. The "root" of a facet could be any level in the taxonomy, not just the top-level namespace
  2. The category name displayed on the page can default to the tag label but should also be customizable
  3. Need the ability to have multiple facet categories on the page
  4. Showing the number of matches for a tag should be optional
vladbailescu commented 5 years ago

Initial proposal at https://github.com/adobe/aem-core-wcm-components/pull/653, still being worked on.

aahlawat commented 5 years ago

Few updates to above RTC:-

1) Instead of pagination 1 2 3.. we will be having load more button. 2) Sort options will be titile, last modified date and relevence

abhishekagg19 commented 5 years ago

As per earlier discussion, the following requirement was mentioned: Search path - Auto-detecting the current page language and use it to derive the search path for executing the search query.

Is it required for this first release of the search component?

JasonUSC commented 4 years ago

Hopefully this component gets traction soon, it's one of those basic building blocks for websites that would be great to leverage out of the box.

tamelang commented 2 years ago

Is this one going to happen?