In that case we need to refactor to add a "body" for errors to make the
search work again?


On Tue, Feb 18, 2014 at 9:31 PM, Itamar Syn-Hershko <
notifications@github.com> wrote:

> In src/ServiceControl/Operations/BodyStorage/BodyStorageEnricher.cs:
>
> >                  message.Metadata.Add("BodyUrl", bodyUrl);
> >              }
> >
> > -            message.Metadata.Add("BodySize", bodySize);
> > +            if (!contentType.Contains("binary") && bodySize <= MaxBodySizeToStore)
> > +            {
> > +                message.Metadata.Add("Body", System.Text.Encoding.UTF8.GetString(message.PhysicalMessage.Body));
> > +            }
>
> Not anymore, it was removed with BodySearchEnricher. Its ok since it was
> redundant anyway (search is made on Query field which selected both Body
> and BodySearchEnricher), but that's the current state of things.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Particular/ServiceControl/pull/235/files#r9840281>
> .
>