https://bugzilla.wikimedia.org/show_bug.cgi?id=58098

       Web browser: ---
            Bug ID: 58098
           Summary: CirrusSearch:  Investigate removing stored from most
                    fields in Elasticsearch
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: CirrusSearch
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to