Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove query-cache serialization optimization. #9500

Closed

Commits on Jan 30, 2015

  1. Search: Remove query-cache serialization optimization.

    The query-cache has an optimization to not deserialize the bytes at the shard
    level. However this is a bit fragile since it assumes that serialized streams
    can be concatenanted (which is not the case with shared strings) and also does
    not update the QueryResult object that is held by the SearchContext. So you
    need to make sure to use the right one.
    
    With this change, the query cache just deserializes bytes into the QueryResult
    object from the context.
    jpountz committed Jan 30, 2015
    Copy the full SHA
    b34eca4 View commit details
    Browse the repository at this point in the history