Closed Bug 559095 Opened 14 years ago Closed 14 years ago

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

Categories

(support.mozilla.org :: Search, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: jsocol)

References

()

Details

(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
It looks like it's just not searching the wiki_pages index.
Summary: Sprurious &tag=&w=1 params truncate search results → [k] Sprurious &tag=&w=1 params truncate search results
Summary: [k] Sprurious &tag=&w=1 params truncate search results → [k] Spurious &tag=&w=1 params truncate search results
(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?)
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: nobody → james
http://github.com/jsocol/kitsune/commit/a5b850a05f43983cdcc81fe9f43cb6e97e427613

Build #21.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.