Last modified: 2014-02-20 21:21:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30088, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28088 - Search result snippets should skip parenthetical phrases
Search result snippets should skip parenthetical phrases
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-17 01:00 UTC by Ryan Kaldari
Modified: 2014-02-20 21:21 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ryan Kaldari 2011-03-17 01:00:03 UTC
Compare the following:

Barack Hussein Obama II. (Barack-Hussein-Obama-en-US-pronunciation. ogg | b | ə | ˈ | r | ɑː | k | _ | h | uː | ˈ | s | eɪ | n | _ | oʊ | ˈ | ...

             - vs. -

Barack Hussein Obama II is the 44th and current President of the United States, having taken office in 2009. He is the first African American...

or


The Kingdom of Saudi Arabia. (المملكة العربية السعودية ar | Al Mamlaka al ʻArabiyya as Suʻūdiyya commonly known as Saudi Arabia. us-Saudi Arabia-...

             - vs. -

The Kingdom of Saudi Arabia is, in land area, the third largest Arab country and the largest country in the Middle East. It is bordered by...


The first versions are from our current search results. The second versions are what the search results would look like if we skipped the part in parentheses (like Google seems to do in most cases).
Comment 1 Ryan Kaldari 2011-03-18 17:20:14 UTC
While we're at it, we should probably remove ref tags as well.
Comment 2 Ryan Kaldari 2011-03-18 17:32:10 UTC
I was going to try to patch this in on truck, but search on my trunk checkout seems to be totally wonky. In particular, it doesn't seem to give beginning snippets for title matches, but rather term-highlighting snippets from the middle of the article (which often ends up just being the interlanguage links). If we're not doing beginning snippets any more, this bug should be marked invalid.
Comment 3 Ryan Kaldari 2011-03-18 17:49:03 UTC
OK, it looks like we have 3 different pieces of software for doing search, and my local install is not set up the same way that the search on the cluster is. It's likely that this bug isn't even filed under the right product and component. If anyone knows more about search, feel free to move it.
Comment 4 Ryan Kaldari 2011-03-18 17:58:31 UTC
Looks like this probably belongs under the Lucene-search extension.
Comment 5 Mark A. Hershberger 2011-03-18 20:02:23 UTC
Which, feel free to look at that and take a stab at it if you have any interest in Java.  I don't think we have an active maintainer for that.
Comment 6 Andre Klapper 2013-03-26 11:20:05 UTC
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]
Comment 7 Dan Garry 2014-02-11 00:16:03 UTC
Moving to CirrusSearch.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links