Closed Bug 870526 Opened 11 years ago Closed 11 years ago

Add topic filter to Elastic Search results interface

Categories

(developer.mozilla.org Graveyard :: General, defect, P1)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: groovecoder, Assigned: jezdez)

References

Details

(Whiteboard: [specification][type:feature])

What problems would this solve?
===============================
Users are unable to filter search results by topic.

Who would use this?
===================
Search visitors

What would users see?
=====================
http://cl.ly/37451A3G1J2W page 3, minus the split results and minus the minimized filters along the top

What would users do? What would happen as a result?
===================================================
Click on topics listed along the right-hand side of search results. Search results would refresh filtered by the topic selected. Clicking on an 'x' at the right side of an active filter will clear it.

Is there anything else we should know?
======================================
Blocks: 844926
Priority: -- → P1
Blocks: 839214
No longer blocks: 839214
No longer blocks: 844926
Blocks: 844926
Some things we mentioned in a meeting many moons ago:

* Might be nice to keep the list of topics in a config flag so that they
  can be changed without a code push
* Don't worry so much about the visual design on this -- or most other UX
  improvements -- for now.

And to clarify something in comment 0, we should do everything on page 3 aside from the selection boxes at the top and aside from the minimized filters on the /right/.
Assignee: nobody → jezdez
I'm working on adding the necessary pieces to the search page and need to extend the search query we send to Elasticsearch (our search backend). What I wondered while doing that is a "topic"?

You mention a list of topics you want to maintain as a config flag but the question is what this list of topics refers to. The first part of a document slug? E.g. what's the topic of the document https://developer.mozilla.org/en-US/docs/Web/HTML/Element? Is it "Web" or "HTML"?

Or are the "topics" we want to filter for actually more related to tags? Of which we could have a subset to filter for? That would imply that some documents show up under various filters of course, since documents can have multiple tags attached.
Status: NEW → ASSIGNED
Flags: needinfo?(jkarahalis)
(In reply to Jannis Leidel [:jezdez] from comment #2)
>  E.g. what's the topic of the document
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element? Is it "Web" or
> "HTML"?

Any of them: "Web", "HTML", "Element" or "Web/HTML", ...

I'm very often using Web/API or Web/CSS to have reference pages, but no guides/tutorials.
Flags: needinfo?(jkarahalis)
Summary: Search: Add topic filter to results interface → Add topic filter to Elastic Search results interface
Holly and the team are working together to decide on topic filters. I will update the bug once we have a final list.
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/59df529fc28ce1d7ccd8825862d70b989b140675
fix bug 870526 - add topic filters based on tags.

Show current search query in global search form input.

Purge page parameters from select or deselect URLs.

Added topic filter feature to redesign template.

Updated kuma-lib

Passed a string version of the page parameter when popping it since that's what the URLObject query object contains.

https://github.com/mozilla/kuma/commit/6c5a0c5986a4ce16292b28294c8f9cfaad66ae17
Merge pull request #1371 from groovecoder/search-topic-filter-870526

fix bug 870526 - add topic filters based on tags.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Could have sworn I posted the final topic filters here. Luke: Which filters did you end up implementing? Holly, are these the filters you wanted us to implement?
Status: RESOLVED → REOPENED
Flags: needinfo?(lcrouch)
Flags: needinfo?(hhabstritt.bugzilla)
Resolution: FIXED → ---
(In reply to John Karahalis [:openjck] from comment #6)
> Could have sworn I posted the final topic filters here. Luke: Which filters
> did you end up implementing? Holly, are these the filters you wanted us to
> implement?

Answered in bug 915760.
Flags: needinfo?(lcrouch)
Flags: needinfo?(hhabstritt.bugzilla)
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.