Last modified: 2014-06-19 20:18:02 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 T68737, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66737 - CirrusSearch: Support morelike: with multiple articles
CirrusSearch: Support morelike: with multiple articles
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-17 19:16 UTC by Nik Everett
Modified: 2014-06-19 20:18 UTC (History)
4 users (show)

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


Attachments

Description Nik Everett 2014-06-17 19:16:20 UTC
Note that article names allow just about every character so we should probably use _something_ for a text delimiter and create a real api.  The api would have the advantage of being able to disable article summaries - they probably only want article titles.  That'd be faster.
Comment 1 Nik Everett 2014-06-17 19:19:06 UTC
Another thing - what we mean by multiple pages is to use the text of all the pages as the input to the morelikethis algorithm.
Comment 2 Matthew Flaschen 2014-06-17 21:06:30 UTC
| is safe for a delimiter.

It's not allowed ( https://en.wikipedia.org/wiki/Foo|bar ), and thus is used in the MediaWiki API for this purpose ( https://en.wikipedia.org/w/api.php?action=query&prop=revisions|info&format=jsonfm&titles=Earth|Venus ).  

It could also be used in the text search query (unless there's already another convention for this).
Comment 3 Nik Everett 2014-06-17 21:26:30 UTC
Pipe'll do.
Comment 4 Nik Everett 2014-06-17 21:26:42 UTC
Thanks!
Comment 5 Gerrit Notification Bot 2014-06-18 20:39:40 UTC
Change 140562 had a related patch set uploaded by Manybubbles:
morelike: with multiple titles

https://gerrit.wikimedia.org/r/140562
Comment 6 Gerrit Notification Bot 2014-06-19 15:48:21 UTC
Change 140562 merged by jenkins-bot:
morelike: with multiple titles

https://gerrit.wikimedia.org/r/140562

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


Navigation
Links