flamingo.me/flamingo-commerce/v3@v3.11.0/search/Readme.md (about)

     1  # Search Module
     2  
     3  Defines a common search domain and provides controllers to render search result and autosuggest.
     4  
     5  The module also offers a pagination util, that can be used to pass pagination data to the interfaces.
     6  
     7  ## Domain Layer
     8  
     9  * A Search can return Results of different types. So a Document in a search result may be a "Product" or anything else
    10      * SearchService->Search(Filter)  returns Map of Results (by type)
    11      * Document
    12  
    13  ### Secondary Ports
    14  * The SearchService needs to be implemented
    15  * Please note that a `Document` is defined as an interface and can be "anything". This way the search can be used very generic and can return documents of any type (e.g. products, categories, content, brands etc).