Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-195

INVESTIGATION. Findbar search doesn’t find all products in commercetools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.0
    • None
    • None
    • None

    Description

      commercetools implementation of Products.All#fetch doesn't do what is expected, it returns only 500 products (it’s a commercetools maximum)

      It’s used in ProductSearchResultSupplier#search method where are the products filtered (if product name contains given query string)

      The implementation is quite expensive and doesn’t provide all results.

      We should provide  API in e-commerce connectors for getting products by name or in general by other criteria.

      Dev notes

      • Approach 1. Get all and filter
      • Approach 2. Fetch product projection to avoid memory issue
      • Approach 3. API should fetch by filter

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                nguyen.phung Nguyen Phung Chi
                ajuran Antonín Juran
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 2d 5h
                      2d 5h