[k] Search is not returning results from the knowledge base

VERIFIED FIXED in 2.0

Status

support.mozilla.org
Search
--
critical
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: stephend, Assigned: jsocol)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
(Please forgive the atrocious summary, and tweak as needed.)

STR:

1. Load http://support-stage-new.mozilla.com/en-US/search?a=1&w=1&category=1&language=en-us&q=firefox+crashes, which is just a search for "firefox crashes" with the "Knowledge Base" category checked
2. Click Submit
3. http://support-stage-new.mozilla.com/en-US/search?q=firefox+crashes&language=en-us&category=1&tag=&w=1 loads

Expected Results:

It should find about 711 articles (at least, it does on prod: https://support.mozilla.com/search.php?where=all&locale=en-US&qs=s&q=firefox+crashes&sa=Search)

Actual Results:

0 results

If I pare down the query URL (dropping the &tag=&w=1 param), I get:

http://support-stage-new.mozilla.com/en-US/search?q=firefox+crashes&language=en-us&category=1

which yields 1000
(Assignee)

Comment 1

8 years ago
It looks like it's just not searching the wiki_pages index.
(Reporter)

Updated

8 years ago
Summary: Sprurious &tag=&w=1 params truncate search results → [k] Sprurious &tag=&w=1 params truncate search results
(Reporter)

Updated

8 years ago
Summary: [k] Sprurious &tag=&w=1 params truncate search results → [k] Spurious &tag=&w=1 params truncate search results
(Reporter)

Comment 2

8 years ago
(In reply to comment #1)
> It looks like it's just not searching the wiki_pages index.

Ah, yeah; that would make sense -- queries like https://support-stage-new.mozilla.com/en-US/search?q=adobe+flash&language=en-us&category=1 aren't finding the KB results (same bug?)
(Assignee)

Comment 3

8 years ago
w=1 restricts the search to the knowledge base. Removing it allows it to search both, which causes it to grab the 1000 results from the forum.
Severity: blocker → critical
Summary: [k] Spurious &tag=&w=1 params truncate search results → [k] Search is not returning results from the knowledge base
(Assignee)

Updated

8 years ago
Assignee: nobody → james
(Assignee)

Comment 4

8 years ago
http://github.com/jsocol/kitsune/compare/559095-search

Pull requests sent for r? and f?
(Assignee)

Comment 5

8 years ago
http://github.com/jsocol/kitsune/commit/a5b850a05f43983cdcc81fe9f43cb6e97e427613

Build #21.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 6

8 years ago
Verified FIXED on http://support-stage-new.mozilla.com/en-US/search?q=firefox+crashes&page=1; nice!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.