Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 06:25
    ejsmith synchronize #452
  • 06:25

    ejsmith on elastic7

    Minor (compare)

  • 06:00
    ejsmith synchronize #452
  • 06:00

    ejsmith on elastic7

    Add missing task id (compare)

  • Dec 13 22:43
    ejsmith synchronize #452
  • Dec 13 22:43

    ejsmith on elastic7

    More reindex job changes (compare)

  • Dec 13 15:46
    ejsmith synchronize #452
  • Dec 13 15:46

    ejsmith on elastic7

    Just retry 3 times (compare)

  • Dec 13 15:44
    ejsmith synchronize #452
  • Dec 13 15:44

    ejsmith on elastic7

    More log message changes (compare)

  • Dec 13 14:25
    niemyjski synchronize #452
  • Dec 13 14:25

    niemyjski on elastic7

    Added retry reindex for disconn… (compare)

  • Dec 13 14:09
    niemyjski synchronize #452
  • Dec 13 14:09

    niemyjski on elastic7

    Updated migration to retry sock… (compare)

  • Dec 13 04:51
  • Dec 13 03:28
    ejsmith synchronize #452
  • Dec 13 03:28

    ejsmith on elastic7

    Oops progress (compare)

  • Dec 13 03:04
    ejsmith synchronize #452
  • Dec 13 03:04

    ejsmith on elastic7

    More log formatting (compare)

  • Dec 13 02:02
    ejsmith synchronize #452
Blake Niemyjski
@niemyjski
kicking it off again
Sander Rijken
@srijken
fails again
been getting those type references for a while
Sander Rijken
@srijken
MSBuild version is now 14, last time it succeeded it was at 12
hmm
that’s MSBuild 12
and that’s like yesterday
Blake Niemyjski
@niemyjski
I updated some dependencies to try and get benchmarks.net to run appears there is an issue with with there latest version
yeah what the hell
Sander Rijken
@srijken
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1098,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5,Profile=Client" were not found. To resolve this, install t
he SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly
Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
but the build you just triggered when you did the hashcode changes on master is also MSBuild 14, and that one doesn’t have this error
Blake Niemyjski
@niemyjski
yeah
I think I broke it
Sander Rijken
@srijken
how? :)
Blake Niemyjski
@niemyjski
idk
Sander Rijken
@srijken
so.. now what?
Blake Niemyjski
@niemyjski
unless appveyor changed things..
Sander Rijken
@srijken
well, MSBuild doesn’t change version numbers all by itself
Sander Rijken
@srijken
what happens when you kick master?
Blake Niemyjski
@niemyjski
these are in master
Sander Rijken
@srijken
“these”?
if you run it again, it should still be green
Blake Niemyjski
@niemyjski
green or not
look at that commit and you can see in 43 that there are compiler related errors for system types
and that’s when the msbuild version changed :(
Sander Rijken
@srijken
check
Blake Niemyjski
@niemyjski
.Aggregations(agg => BuildAggregations(agg
.Terms("terms", t => BuildTermSort(t
.Field(term)
.Size(max)
.Aggregations(agg2 => BuildAggregations(agg2
.Min("first_occurrence", o => o.Field(ev => ev.Date))
.Max("last_occurrence", o => o.Field(ev => ev.Date)), fields)
), fields)
), fields)
Sander Rijken
@srijken
it’s never easy is it?
Blake Niemyjski
@niemyjski
not sure how we are going to do that
with numbers
nope :(
our numbers stats only support numbers and not dates
Eric J. Smith
@ejsmith
should be able to do a min and max aggregation on the date.
min:first_occurrence max:last_occurrence
Blake Niemyjski
@niemyjski
and where would we put those results
we stick everything in numbers
and those are dates
Eric J. Smith
@ejsmith
what do you mean stick everything in numbers?
you mean the results are types as numbers?
Blake Niemyjski
@niemyjski
yeah
Eric J. Smith
@ejsmith
type them as objects
Blake Niemyjski
@niemyjski
could change those to be objects I guess
and convert them on our end
Eric J. Smith
@ejsmith
well the json will come down and it won’t matter
Blake Niemyjski
@niemyjski
    public async Task<NumbersTimelineStatsResult> GetNumbersTimelineStatsAsync(object query, IEnumerable<FieldAggregation> fields, TimeSpan? displayTimeOffset = null, int desiredDataPoints = 100) {
        if (!displayTimeOffset.HasValue)
            displayTimeOffset = TimeSpan.Zero;

        // if no start date then figure out first event date
        if (!filter.DateRanges.First().UseStartDate)
            await UpdateFilterStartDateRangesAsync(filter, utcEnd).AnyContext();

        utcStart = filter.DateRanges.First().GetStartDate();
        utcEnd = filter.DateRanges.First().GetEndDate();
        var interval = GetInterval(utcStart, utcEnd, desiredDataPoints);

        var response = await Context.ElasticClient.SearchAsync<T>(CreateSearchDescriptor(query)
           .SearchType(SearchType.Count)
           .Aggregations(agg => BuildAggregations(agg
                .DateHistogram("timelime", t => t
                    .Field(ev => ev.Date)
                    .MinimumDocumentCount(0)
                    .Interval(interval.Item1)
                    .TimeZone(HoursAndMinutes(displayTimeOffset.Value))
                    .Aggregations(agg2 => BuildAggregations(agg2, fields))
                ), fields))
           .IgnoreUnavailable()
        ).AnyContext();