#metabrainz

/

      • zas
        isn't this search query handled by queen's solr ?
      • 2018-05-19 13923, 2018

      • samj1912
        zas: iirc you set some nginx limits on solr
      • 2018-05-19 13939, 2018

      • samj1912
        I can perform those queries if I login to the admin panel on queen's solr
      • 2018-05-19 13921, 2018

      • zas
        but in this case, that's the backend returning a 500, i wonder if it even ends on solr
      • 2018-05-19 13938, 2018

      • zas
        ok, it does it seems
      • 2018-05-19 13924, 2018

      • KassOtsimine
        noo don't skip instruments lol
      • 2018-05-19 13911, 2018

      • KassOtsimine
        hi samj1912 i'm here now!
      • 2018-05-19 13915, 2018

      • KassOtsimine
        was reaading scrollback
      • 2018-05-19 13901, 2018

      • KassOtsimine
        i deff wanna improve instruments search!
      • 2018-05-19 13916, 2018

      • KassOtsimine
        sorry for being afk, was playing botw all yesterday :x
      • 2018-05-19 13917, 2018

      • zas
        samj1912: i did a tcp packet capture, and it seems to me that's solr which is truncating the json output, leading to a 500 (because json is invalid)
      • 2018-05-19 13954, 2018

      • samj1912
        weird
      • 2018-05-19 13959, 2018

      • samj1912
        it shouldn't be doing that
      • 2018-05-19 13941, 2018

      • zas
        i'll redo the capture may be i didn't capture everything
      • 2018-05-19 13949, 2018

      • KassOtsimine
        D: u mad at me :(
      • 2018-05-19 13922, 2018

      • reosarevok
        KassOtsimine: I don't think anyone is mad at you, we skipped them temporarily specifically to look into it when you're around :)
      • 2018-05-19 13928, 2018

      • HSOWA joined the channel
      • 2018-05-19 13933, 2018

      • reosarevok
        (but something seems to be broken now, so I guess we need to wait a bit more :) )
      • 2018-05-19 13939, 2018

      • HSOWA
        great and now my client crashed
      • 2018-05-19 13957, 2018

      • HSOWA
        meh any link to the chatlogs
      • 2018-05-19 13901, 2018

      • HSOWA
        ?
      • 2018-05-19 13918, 2018

      • reosarevok
      • 2018-05-19 13922, 2018

      • reosarevok
        Or something specific?
      • 2018-05-19 13924, 2018

      • HSOWA
        cheers
      • 2018-05-19 13929, 2018

      • samj1912
        HSOWA: hey, wasn't mad :P, just was helping zas and Leo_Verto with solr debugging
      • 2018-05-19 13933, 2018

      • HSOWA
        my connection has been shit for a while :D
      • 2018-05-19 13938, 2018

      • HSOWA
        👍
      • 2018-05-19 13945, 2018

      • samj1912
        ill get back to you in a bit when I start doing instruments :)
      • 2018-05-19 13950, 2018

      • HSOWA
        :DDDD
      • 2018-05-19 13925, 2018

      • HSOWA
        but when is the areas search fix going on prod?
      • 2018-05-19 13928, 2018

      • HSOWA
        or eve nbeta?
      • 2018-05-19 13932, 2018

      • HSOWA
        i hope asap
      • 2018-05-19 13949, 2018

      • HSOWA
        i don't even care about feature aprity. i ant this asafp
      • 2018-05-19 13910, 2018

      • HSOWA
        i don't even care about feature parity. i want this asafp
      • 2018-05-19 13920, 2018

      • samj1912
        lol :P
      • 2018-05-19 13932, 2018

      • samj1912
        HSOWA: there are some other things we need to take care of
      • 2018-05-19 13937, 2018

      • HSOWA
        ahha
      • 2018-05-19 13948, 2018

      • HSOWA
        also yo u can still call me catcat or catquest here
      • 2018-05-19 13949, 2018

      • HSOWA
        :D
      • 2018-05-19 13908, 2018

      • zas
        samj1912: capture was incomplete, solr seems to answer correctly but mb website fails to handle it
      • 2018-05-19 13926, 2018

      • samj1912
        seems like it
      • 2018-05-19 13944, 2018

      • samj1912
        is it unable to parse a large json string?
      • 2018-05-19 13946, 2018

      • KassOtsimine has quit
      • 2018-05-19 13915, 2018

      • zas
        yvanzo, bitmap ^^
      • 2018-05-19 13927, 2018

      • ruaok
        how large?
      • 2018-05-19 13942, 2018

      • zas
        this one is about 90kb (a bit less)
      • 2018-05-19 13913, 2018

      • zas
      • 2018-05-19 13936, 2018

      • zas
        wiresharked decoded tcp stream
      • 2018-05-19 13936, 2018

      • HSOWA
        or wait no. i forget this thing has a broken highlisht. if i select *any* words to highligt on it highlight on EVERYmessage
      • 2018-05-19 13922, 2018

      • ruaok
        90kb should be zero problem at all.
      • 2018-05-19 13942, 2018

      • zas
        but perhaps that's a json parsing issue, not related to the size
      • 2018-05-19 13900, 2018

      • ruaok
        malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "GET /solr/recording/...") at /usr/local/bin/json_pp line 44.
      • 2018-05-19 13943, 2018

      • ruaok
        ah, there is crap around it.
      • 2018-05-19 13949, 2018

      • zas
        where did you get this log line ?
      • 2018-05-19 13957, 2018

      • ruaok
        seems to parse fine.
      • 2018-05-19 13912, 2018

      • zas
        hmm, the capture file is ascii, but content has utf8
      • 2018-05-19 13913, 2018

      • ruaok
        json_pp on the command line, feeding it the whole file, which is not right. ignore that
      • 2018-05-19 13904, 2018

      • ruaok
        json lint thinks its fine too.
      • 2018-05-19 13918, 2018

      • zas
      • 2018-05-19 13929, 2018

      • ruaok
      • 2018-05-19 13947, 2018

      • Leo_Verto
        what's up with "{"artist":{"id":"622a275f-659f-4dc6-9964-0d33c34a786e","name":"Michel Fugain","sort-name":"Fugain, Michel","aliases":[{"sort-name":"...........................","name":"...........................","locale":null,"type":null,"primary":null,"begin-date":null,"end-date":null}"?
      • 2018-05-19 13911, 2018

      • Leo_Verto
        are those just japanese characters not being rendered?
      • 2018-05-19 13937, 2018

      • zas
        i see them
      • 2018-05-19 13951, 2018

      • zas
        sort-name":"Fugain, Michel","aliases":[{"sort-name":"ミッシェル・フガン","name":"ミッシェル・フガン",
      • 2018-05-19 13900, 2018

      • Leo_Verto
      • 2018-05-19 13913, 2018

      • Leo_Verto
        ah okay, just an ascii issue then
      • 2018-05-19 13917, 2018

      • ruaok
        does this happen with all requests or just some?
      • 2018-05-19 13923, 2018

      • samj1912
        just some
      • 2018-05-19 13934, 2018

      • samj1912
        this is my first time encountering this
      • 2018-05-19 13936, 2018

      • ruaok
        it might be an encoding issue.
      • 2018-05-19 13949, 2018

      • zas
        there's no encoding header at all in the answer
      • 2018-05-19 13952, 2018

      • ruaok
        where the json is valid, but the utf8 is not.
      • 2018-05-19 13925, 2018

      • Leo_Verto
        seems like the searches fail if they're similar enough to "viva la"
      • 2018-05-19 13942, 2018

      • HSOWA
        samj1912: i'm in the same room doing the dishes. when you are ready, just highlight me with HSOWA :D
      • 2018-05-19 13951, 2018

      • zas
        likely because they contain same results
      • 2018-05-19 13903, 2018

      • Leo_Verto
        "testing viva la" works but "aaaaaaaaa viva la" doesn't
      • 2018-05-19 13923, 2018

      • Leo_Verto
        this means there's bad data somewhere, right?
      • 2018-05-19 13936, 2018

      • zas
        what is happening to this json answer after solr returned it ?
      • 2018-05-19 13922, 2018

      • ruaok
        they get parsed, and transformed into HTML or XML or a different JSON format.
      • 2018-05-19 13928, 2018

      • samj1912
        HSOWA: okay :)
      • 2018-05-19 13936, 2018

      • github joined the channel
      • 2018-05-19 13936, 2018

      • github
        [sir] samj1912 opened pull request #79: Improve query efficiency when calculating ref_counts (master...count) https://git.io/vppNk
      • 2018-05-19 13936, 2018

      • github has left the channel
      • 2018-05-19 13926, 2018

      • beqn has quit
      • 2018-05-19 13949, 2018

      • samj1912
        HSOWA: hey
      • 2018-05-19 13958, 2018

      • HSOWA
        hi1
      • 2018-05-19 13905, 2018

      • samj1912
        lets do instruments now :)
      • 2018-05-19 13922, 2018

      • HSOWA
        i didn't get to finsih the fdishes, but <ny excuse not to do them :D
      • 2018-05-19 13930, 2018

      • HSOWA
        any*
      • 2018-05-19 13933, 2018

      • samj1912
        lol :P
      • 2018-05-19 13947, 2018

      • samj1912
        so yeah, you know how to test it right?
      • 2018-05-19 13957, 2018

      • samj1912
        can you try out some queries and see how it performs?
      • 2018-05-19 13959, 2018

      • HSOWA
        test it on test
      • 2018-05-19 13908, 2018

      • samj1912
        yup, with advanced mode on
      • 2018-05-19 13917, 2018

      • HSOWA
        question: what about inline search?
      • 2018-05-19 13939, 2018

      • samj1912
        inline search?
      • 2018-05-19 13945, 2018

      • samj1912
      • 2018-05-19 13948, 2018

      • HSOWA
      • 2018-05-19 13956, 2018

      • HSOWA
        yes yes i know aoutthat
      • 2018-05-19 13920, 2018

      • HSOWA
        my main concern is making usre people don't select "guitar family and viol family" when they want guitars and viol(da gamba)
      • 2018-05-19 13921, 2018

      • samj1912
        I have no idea how that works
      • 2018-05-19 13929, 2018

      • HSOWA
        lets find out!
      • 2018-05-19 13933, 2018

      • Leo_Verto
        samj1912: I like how "eletric guitar" appears before regular guitar
      • 2018-05-19 13940, 2018

      • HSOWA
        hmmm
      • 2018-05-19 13948, 2018

      • samj1912
        Leo_Verto: I dont think that should happen :P
      • 2018-05-19 13953, 2018

      • HSOWA
        indeed
      • 2018-05-19 13913, 2018

      • Leo_Verto
        I feel like for instruments, exact name matches should be prioritized
      • 2018-05-19 13920, 2018

      • HSOWA
        samj1912: can you make it so that anything with the *name* "family" goees last ?
      • 2018-05-19 13939, 2018

      • samj1912
        as in?
      • 2018-05-19 13940, 2018

      • HSOWA
        Leo_Verto: kindly butt out for a while (come in later pls :D)
      • 2018-05-19 13951, 2018

      • HSOWA
      • 2018-05-19 13954, 2018

      • HSOWA
        samj1912:
      • 2018-05-19 13922, 2018

      • ZaphodBeeblebrox has quit
      • 2018-05-19 13925, 2018

      • HSOWA
        anything iwth "family" in thr name should (ideally) show last in the list of anything searched
      • 2018-05-19 13946, 2018

      • reosarevok
        (or anything with the "family" instrument type, I guess)
      • 2018-05-19 13956, 2018

      • HSOWA
        yes that too
      • 2018-05-19 13957, 2018

      • ZaphodBeeblebrox joined the channel
      • 2018-05-19 13957, 2018

      • ZaphodBeeblebrox has quit
      • 2018-05-19 13957, 2018

      • ZaphodBeeblebrox joined the channel
      • 2018-05-19 13901, 2018

      • Leo_Verto
        should it show at all?
      • 2018-05-19 13912, 2018

      • HSOWA
        weeel
      • 2018-05-19 13918, 2018

      • reosarevok
        Well it should show in inline search when catcat is adding relationships at least
      • 2018-05-19 13928, 2018

      • HSOWA
        indeed :D
      • 2018-05-19 13928, 2018

      • reosarevok
        I guess
      • 2018-05-19 13933, 2018

      • reosarevok
        Otherwise it's hard to use :D
      • 2018-05-19 13936, 2018

      • samj1912
        reosarevok: I am not at all sure how inline search is currently hooked
      • 2018-05-19 13946, 2018

      • HSOWA
        but i can also search for "viol family"
      • 2018-05-19 13957, 2018

      • HSOWA
        inline is my main concern
      • 2018-05-19 13907, 2018

      • HSOWA
        *most* do not use the regular search for instrument use
      • 2018-05-19 13909, 2018

      • drsaunder has quit
      • 2018-05-19 13912, 2018

      • HSOWA
        thy use inline for adding rels
      • 2018-05-19 13918, 2018

      • samj1912
      • 2018-05-19 13925, 2018

      • samj1912
        well it seems to do that currently as well
      • 2018-05-19 13926, 2018

      • HSOWA
      • 2018-05-19 13901, 2018

      • reosarevok
        HSOWA: ? the actual viola is super low, that is bad :p
      • 2018-05-19 13901, 2018

      • HSOWA
        for inline seaerch too :O
      • 2018-05-19 13905, 2018

      • HSOWA
        on test atleast
      • 2018-05-19 13931, 2018

      • HSOWA
        we don't want viola to show up when searching for viol do we? for search "violla" wwe want it to be first
      • 2018-05-19 13944, 2018

      • reosarevok
        But that's a "viola" search!
      • 2018-05-19 13951, 2018

      • HSOWA
        erh "viola"
      • 2018-05-19 13956, 2018

      • HSOWA
        oh duh
      • 2018-05-19 13900, 2018

      • HSOWA
        yes that's bad bad
      • 2018-05-19 13910, 2018

      • reosarevok
      • 2018-05-19 13918, 2018

      • reosarevok
        (other than violin family, but)
      • 2018-05-19 13934, 2018

      • HSOWA
        yea. and honestly viola da gamba should show first, but :D
      • 2018-05-19 13938, 2018

      • samj1912
        alias comment description iid instrument^2 ngram tag type
      • 2018-05-19 13943, 2018

      • samj1912
        these are the current boosts
      • 2018-05-19 13952, 2018

      • samj1912
        should I increase alias?
      • 2018-05-19 13957, 2018

      • HSOWA
        you can lover the description and annotations
      • 2018-05-19 13902, 2018

      • samj1912
        and do you want any particular type boosts?