Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 15 07:29
  • Oct 14 02:53
    wmowm commented #459
  • Oct 12 15:59
    niemyjski commented #459
  • Oct 12 15:57
    niemyjski edited #459
  • Oct 12 12:54
    niemyjski synchronize #452
  • Oct 12 12:54

    niemyjski on elastic7

    Fixed serializer null reference… Fixed all Swagger issues. (compare)

  • Oct 12 12:26
    niemyjski synchronize #452
  • Oct 12 12:26

    niemyjski on elastic7

    Updated to latest foundatio rep… (compare)

  • Oct 12 12:24
    niemyjski synchronize #452
  • Oct 12 12:24

    niemyjski on elastic7

    Fixed elasticsearch serializer … (compare)

  • Oct 12 11:01
    wmowm opened #459
  • Oct 11 11:21
    niemyjski commented #458
  • Oct 10 21:18
    kiquenet opened #458
  • Oct 10 13:30
    niemyjski updated the wiki
  • Oct 10 09:20
  • Oct 10 03:36
  • Oct 09 15:54
    john-roland closed #456
  • Oct 09 15:54
    john-roland commented #456
  • Oct 09 14:12
    niemyjski labeled #457
  • Oct 09 14:12
    niemyjski labeled #457
Blake Niemyjski
@niemyjski
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();
yeah that’s going to be fun...
to figure out what field to do the timeline on
guess I need to add a timeline aggregation with a few func’s eh?
side tracked on moving this over cause I need it for what I’m doing with counts per project on the repo
This message was deleted
Blake Niemyjski
@niemyjski
@srijken
Sander Rijken
@srijken
hm?
Blake Niemyjski
@niemyjski
said they rolled out new vs2015 image
told me to use previous image
:(
unreal
Sander Rijken
@srijken
I run VS2015 update 2
and it works
so..?