Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:21
    niemyjski synchronize #452
  • 12:21

    niemyjski on elastic7

    WIP - Added migration job to mi… (compare)

  • 11:34
    niemyjski labeled #462
  • 11:34
    niemyjski commented #462
  • 11:34
    niemyjski commented #461
  • 02:09
    kfj1688 opened #462
  • 01:42
    BrisWhite commented #461
  • Oct 22 13:52
    niemyjski labeled #461
  • Oct 22 13:52
    niemyjski commented #461
  • Oct 22 13:35
    niemyjski synchronize #452
  • Oct 22 13:35

    niemyjski on elastic7

    Moved migration job (compare)

  • Oct 22 12:32
    niemyjski synchronize #452
  • Oct 22 12:32

    niemyjski on elastic7

    Added migration job (compare)

  • Oct 22 12:09
    niemyjski synchronize #452
  • Oct 22 12:09

    niemyjski on elastic7

    Fixed tests (compare)

  • Oct 22 09:50
  • Oct 22 09:17
    xiaotiannet starred exceptionless/Exceptionless
  • Oct 22 07:04
  • Oct 22 07:01
  • Oct 22 06:15
    BrisWhite edited #461
Blake Niemyjski
@niemyjski
ok
sucks that we can’t have dots in the name
names
gotta figure that out
Eric J. Smith
@ejsmith
you can
Blake Niemyjski
@niemyjski
ah
I’m pretty sure you cant
Eric J. Smith
@ejsmith
I just saw an example that had it.
Blake Niemyjski
@niemyjski

Invalid NEST response built from a unsuccesful low level call on PUT: /employees-v1

Audit trail of this API call:

  • BadResponse: Node: http://localhost:9200/ Took: 00:00:00.4679548

    ServerError: ServerError: 400Type: mapper_parsing_exception Reason: "Failed to parse mapping [employee]: Mapping definition for [companyId] has unsupported parameters: [index_name : company]" CausedBy: "Type: mapper_parsing_exception Reason: "Mapping definition for [companyId] has unsupported parameters: [index_name : company]""

    OriginalException: System.Net.WebException: The remote server returned an error: (400) Bad Request.

    at System.Net.HttpWebRequest.GetResponse()
    at Elasticsearch.Net.HttpConnection.RequestTReturn in C:\users\russ\source\elasticsearch-net\src\Elasticsearch.Net\Connection\HttpConnection.cs:line 138

    Request:

    <Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

    Response:

    <Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

                .String(f => f.Name(e => e.CompanyId).IndexName(Fields.Employee.CompanyId).Index(FieldIndexOption.NotAnalyzed))
way to even throw a dam compiler warning
0 warnings
Sander Rijken
@srijken
that looks nice
Eric J. Smith
@ejsmith
gotta do copy_to for that too… kind of sucks.
they said it was confusing I guess.
that error is a HELL of a lot better than the old errors.
we used to get a massive java stacktrace with the error burried in the middle of 1000s of lines of text.
Blake Niemyjski
@niemyjski
how the FUCK
Eric J. Smith
@ejsmith
?
Blake Niemyjski
@niemyjski
do you say copy to this field
but specify anaylzer option
I want to say don’t anaylze this and don’t index this field
Eric J. Smith
@ejsmith
you need to define the field that you are copy_to ‘ing
Blake Niemyjski
@niemyjski
you serious
Eric J. Smith
@ejsmith
yep
Blake Niemyjski
@niemyjski
this is going to make our defintions a nightmare
Eric J. Smith
@ejsmith
even though it doesn’t exist in the doc.
you have to define it and then do copy_to on the actual property.
and say not indexed on the real one too
Blake Niemyjski
@niemyjski
                .String(f => f.IndexName(Fields.Employee.CompanyId).NotAnalyzed())
                .String(f => f.Name(e => e.CompanyId).CopyTo(c => c.Fields(Fields.Employee.CompanyId)).Index(FieldIndexOption.No))
something like that
Eric J. Smith
@ejsmith
"mappings": {
"test": {
"properties": {
"name": {
"type": "object",
"properties": {
"first": {
"index": "no",
"copy_to": "name.fullname"
},
"last": {
"index": "no",
"copy_to": "name.fullname"
},
"fullname": {
"type": "string"
}
}
}
}
}
}
}
Blake Niemyjski
@niemyjski
with the root having everything
yeah good luck on that
marvel is broke as shit
can’t even view it
they screwed up big time on that
20 dam steps to install it and then it doesn’t work
errors out
Eric J. Smith
@ejsmith
lol
Blake Niemyjski
@niemyjski
Screen Shot 2016-03-31 at 4.00.07 PM.png

pile

install instructions went from 1 line in 1.x
to literally 15 steos
steps and then it says all green but doesn’t work
Eric J. Smith
@ejsmith
I’ve set that up and it was pretty straight forward… its just a spa app now.
Blake Niemyjski
@niemyjski
so if the field name doesn’t change
i guess you don’t need to do copy to
but I kinda feel like we should just to be consistent