Closed
Bug 871589
Opened 12 years ago
Closed 12 years ago
Implement "Related Questions" on article page.
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q2
People
(Reporter: rrosario, Assigned: rrosario)
Details
(Whiteboard: u=user c=wiki p=2 s=2013.10)
We currently have a Related Articles box on the left of article pages. This uses ES morelikethis to find similar articles according to ES.
We need to add a Related Questions box and have it below the Related Articles. The problem here is that:
1) questions and documents are different mapping type
2) they have different field names for their title and content (document_title vs question_title, for example)
If 1) isn't an issue, then we can see if renaming our fields makes sense to make it work. Or possibly use a mlt query like this one http://www.elasticsearch.org/guide/reference/query-dsl/mlt-query/. Or find another solution?
Comment 1•12 years ago
|
||
It sounds like it's a separate ES call. If so, then we can just do what we're doing now, but use the QuestionMappingType rather than the DocumentMappingType.
Comment 2•12 years ago
|
||
Oh, wait--I submitted too soon. I see the problem now.
elasticutils.MLT supports multiple doctypes already, so problem 1 isn't a problem.
However, we're using different fields between QuestionMappingType and DocumentMappingType and that is definitely a problem. I think you're right in that we'll have to use mlt-query.
| Assignee | ||
Comment 3•12 years ago
|
||
Making this 3pts because we have to figure out what exactly to do. We know we have options, just need to try them out and implement.
Whiteboard: u=user c=wiki p= s=2013.10 → u=user c=wiki p=3 s=2013.10
| Assignee | ||
Comment 5•12 years ago
|
||
Pull request is here:
https://github.com/mozilla/kitsune/pull/1362
Switching to 2pts because it really was 1-2pts.
Whiteboard: u=user c=wiki p=3 s=2013.10 → u=user c=wiki p=2 s=2013.10
| Assignee | ||
Comment 6•12 years ago
|
||
| Assignee | ||
Comment 7•12 years ago
|
||
Deployed to prod.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•