Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-731

Optimise full text search query builder for deep category hierarchies

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.1.0, 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:

      Description

      Deep category hierarchies with "search in sub categories" option result in Lucene error boolean clauses exceed 1024.

      Need to optimise how we manage search in subcategories by storing full parent tree structure and then have single clause for including current category. Since we can only pass List<Longs> we can pass negative PK to indicate "search in sub categories". The challenge is to traverse the parent tree with category links included

        Attachments

          Activity

            People

            • Assignee:
              denis Denis Pavlov
              Reporter:
              denis Denis Pavlov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: