Incorrect total number of results when filtering by Content Type due to ignoring stemming

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Should have
    • 1.7.0
    • None
    • 4
    • Search
    • Sprint #30

      When searching for 'community' without filters the results for Content Type Post is (161)

      see https://dev.p4.greenpeace.org/international/?s=community&orderby=relevant

      but when filtering by Post we get only (38) results.

      see https://dev.p4.greenpeace.org/international/?s=community&orderby=relevant&f%5Bctype%5D%5BPost%5D=3

       

      This happens because when we use filters (due to limitations of SearchWP plugin) we have to query the database also by using the WP_Query. But WP_Query does not recognize stemming so it gets only the 38 results that have the whole 'community' word in them, ignoring stem words or derivative words (commune, communities) etc.

            Assignee:
            Angelos Theodorakopoulos (Inactive)
            Reporter:
            Angelos Theodorakopoulos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: