by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 08:48
  • Jul 04 22:08
    ejsmith synchronize #649
  • Jul 04 22:08

    ejsmith on discard-join

    Work around Redis sentinel conn… (compare)

  • Jul 03 17:32
    ejsmith commented #666
  • Jul 03 09:02
    toolsfactory closed #666
  • Jul 03 09:02
    toolsfactory commented #666
  • Jul 02 21:04
    ejsmith commented #666
  • Jul 02 20:58
    toolsfactory edited #666
  • Jul 02 20:58
    toolsfactory opened #666
  • Jul 02 16:36
    YePiaoRan17 starred exceptionless/Exceptionless
  • Jul 01 14:25
    HuangMeiheng starred exceptionless/Exceptionless
  • Jul 01 13:59
    niemyjski closed #664
  • Jul 01 13:59
    niemyjski labeled #664
  • Jul 01 13:59
    niemyjski commented #664
  • Jul 01 13:57
    niemyjski commented #635
  • Jul 01 13:56
    niemyjski labeled #665
  • Jul 01 09:34
    yun6cc closed #665
  • Jul 01 09:34
    yun6cc commented #665
  • Jul 01 06:56
    yun6cc commented #665
Eric J. Smith
@ejsmith
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
and not screw ourselves
Eric J. Smith
@ejsmith
huh?
Blake Niemyjski
@niemyjski
                .String(f => f.Name(e => e.Id).IndexName(Fields.Employee.Id).NotAnalyzed())
                .String(f => f.IndexName(Fields.Employee.Id).NotAnalyzed())
                .String(f => f.Name(e => e.Id).CopyTo(c => c.Fields(Fields.Employee.Id)).Index(FieldIndexOption.No))
Eric J. Smith
@ejsmith
they are breaking shit left and right.
Blake Niemyjski
@niemyjski
yeah
Eric J. Smith
@ejsmith
guess they are trying to simplify
Blake Niemyjski
@niemyjski
yeah
Eric J. Smith
@ejsmith
which is good.
Blake Niemyjski
@niemyjski
so the first one
works
Eric J. Smith
@ejsmith
but it hurts.
Blake Niemyjski
@niemyjski
but almost feel like we should explicitly define it even if it has the same name
Eric J. Smith
@ejsmith
on top of making all these changes they don’t give you very good options to automate the upgrade process.
Blake Niemyjski
@niemyjski
yeah
Eric J. Smith
@ejsmith
should’ve done reindex fully baked before making all these breaking changes.