Closed
Bug 949996
Opened 11 years ago
Closed 6 years ago
Search snippet is unnecessary long and show several times the same word
Categories
(developer.mozilla.org Graveyard :: Search, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: teoli, Unassigned)
Details
Attachments
(1 file)
95.16 KB,
image/png
|
Details |
I did a search for "flex".
The first result is the "flex" article (as expected).
Its snipped was:
The flex CSS property specifies ability of a flex item to alter their dimensions to fill the available…space. Flex items can be stretched to use available space proportional to their flex grow factor or their…their flex shrink factor to prevent overflow.
It is unusually long and has strange … added in the middle (without space after them, which is a typographic error).
The first paragraph of the page is:
The flex CSS property specifies ability of a flex item to alter their dimensions to fill the available space. Flex items can be stretched to use available space proportional to their flex grow factor or their flex shrink factor to prevent overflow.
The problems are:
- If several occurrence of the search term are found, the text snippet shouldn't grow unnecessary long.
- If two text extract overlap they should be merged.
- If there is text after the …, a typographic space should be added after it.
Comment 1•11 years ago
|
||
I will look into how to do this with Elasticsearch (since that's what we use for extracting hightlighting text). No promises though.
Updated•11 years ago
|
Severity: normal → minor
Priority: -- → P3
Comment 2•6 years ago
|
||
Today's snippet, with ElasticSearch 5.x (with *bold* text):
*flex* is a new value added to the CSS display property. Along with inline-*flex* it causes the element that…applies to to become a *flex* container, and the element's children to each become a *flex* item. The items then…then participate in *flex* layout, and all of the properties defined in the CSS Flexible Box Layout Module
No longer blocks: MDNPostLaunch
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•