Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:40
    zhangyiqiu starred exceptionless/Exceptionless
  • 07:45
  • 05:47
    ejsmith edited #471
  • 05:46
    ejsmith opened #471
  • 05:46

    ejsmith on strip-large-data

    Strip large data values out of … (compare)

  • Dec 11 19:54
    niemyjski synchronize #452
  • Dec 11 19:54

    niemyjski on elastic7

    Decrease batch size (compare)

  • Dec 11 14:51
    niemyjski synchronize #452
  • Dec 11 14:51

    niemyjski on elastic7

    Reset the alias cache before ru… (compare)

  • Dec 11 04:03

    ejsmith on mappings-refactor

    (compare)

  • Dec 11 04:02
    ejsmith synchronize #452
  • Dec 11 04:02

    ejsmith on elastic7

    Change a bunch of index field s… Updated dependencies. Revert to 2201-pre and 6 more (compare)

  • Dec 11 04:02
    ejsmith closed #470
  • Dec 11 04:02
    ejsmith edited #470
  • Dec 11 03:59
    ejsmith opened #470
  • Dec 11 03:14

    niemyjski on mappings-refactor

    Updated to latest foundatio (compare)

  • Dec 11 02:59

    niemyjski on mappings-refactor

    Tweaked the event index mapping… (compare)

  • Dec 11 01:53

    ejsmith on mappings-refactor

    Update cache client list method… (compare)

  • Dec 11 01:19

    ejsmith on mappings-refactor

    More index work (compare)

  • Dec 10 13:26
    niemyjski commented #468
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..?
Blake Niemyjski
@niemyjski
yeah
and we weren’t specifying a build image before
Sander Rijken
@srijken
well I agree with running latest by default
otherwise a load of people never upgrade
Blake Niemyjski
@niemyjski
yeah
I agree
there are some issues there that microsoft introduced
and until we drop .net 4.0 or move to standard lib I think they will be there
Sander Rijken
@srijken
I’m off to bed
Blake Niemyjski
@niemyjski
kk ty
Sander Rijken
@srijken
the build thing, I’d switch back for now, wait what they come up with
and maybe have a branch that doesn’t have that image setting?
Blake Niemyjski
@niemyjski
psuehd
pushed*
Sander Rijken
@srijken
didn’t merge the PR yet, I’ll see tomorrow what happened ;)
Blake Niemyjski
@niemyjski
ok
have a good night