Last modified: 2013-12-20 20:51:03 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 T60098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58098 - CirrusSearch: Investigate removing stored from most fields in Elasticsearch
CirrusSearch: Investigate removing stored from most fields in Elasticsearch
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-06 14:53 UTC by Nik Everett
Modified: 2013-12-20 20:51 UTC (History)
3 users (show)

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


Attachments

Description Nik Everett 2013-12-06 14:53:23 UTC
Right now we tag most fields as stored in Elasticsearch but on further reading we should really only tag the fields that we need for prefix searching.  The reason for this is that during full text search we actually would load most of the _source document any way when you measure by size by virtue of highlighting the text.  Once you load most of the _source you may as well get everything from it.

In other words, setting a field to stored only speeds up queries that *don't* highlight or return the text but *do* highlight or return the stored field.  It actually slows down things that *do* highlight the text because it involves multiple loads.  Also, it takes up extra disk space.
Comment 1 Gerrit Notification Bot 2013-12-10 20:16:54 UTC
Change 100625 had a related patch set uploaded by Manybubbles:
Stop 'store'ing fields

https://gerrit.wikimedia.org/r/100625
Comment 2 Gerrit Notification Bot 2013-12-10 21:44:04 UTC
Change 100625 merged by jenkins-bot:
Stop 'store'ing fields

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

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


Navigation
Links