Closed mathieuLU closed 2 years ago
the first one is fixed screenshot removed
the second one as well. fixed ! screenshot removed
Sounds good! I tried several searches but didn't get any "null null". However, when I searched a personId, in ths case myself, I also got STEFAN PETERSON !!!
screenshot removed
Also when searching my friend Ulf, another guy turned up (guess who)! Quite amazing!
screenshot removed
i locked the conversation (i did not know the option exists). It's good to do it before attaching data that could contain personal info. I removed the screenshots from the previous messages as well
I spent the day to work with elasticsearch, finally ! I understand a lot more of it now, even if there are still a lot of unknown areas... I cannot go in details for setting up the search functions so far. But at least I understand why STEFAN PETERSON is in the list every time we search for a personnr that ends with "-1"
depending on what you have entered, it's split in blocks to search through different fields. When you search "610814-1", it's split in 2 blocks, because of the "-". and it appears that Stefan has an email address that ends with "-1" ! The content of the fields in the database are split as well. Which means that we have a matching result with this -1 and his email address ;-)
We can't consider it as a bug. From my point of view it's fine to leave it this way ;-) What do you think ? Please reopen if you think we should change this behavior
Ah, interesting, and always good to get a logic explanation to strange things. Obviously not a bug, just a coincidence! Just leave it there!
Åke
Från: mathieuLU @.> Skickat: Tuesday, 8 February 2022 16:52 Till: biodiversitydata-se/biocollect @.> Kopia: Åke Lindström @.>; Assign @.> Ämne: Re: [biodiversitydata-se/biocollect] Find a person => many null rows in the result list (Issue #212)
I spent the day to work with elasticsearch, finally ! I understand a lot more of it now, even if there are still a lot of unknown areas... I cannot go in details for setting up the search functions so far. But at least I understand why STEFAN PETERSON is in the list every time we search for a personnr that ends with "-1"
depending on what you have entered, it's split in blocks to search through different fields. When you search "610814-1", it's split in 2 blocks, because of the "-". and it appears that Stefan has an email address that ends with "-1" ! The content of the fields in the database are split as well. Which means that we have a matching result with this -1 and his email address ;-)
We can't consider it as a bug. From my point of view it's fine to leave it this way ;-) What do you think ? Please reopen if you think we should change this behavior
— Reply to this email directly, view it on GitHubhttps://github.com/biodiversitydata-se/biocollect/issues/212#issuecomment-1032760366, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXBWL5VGHFNKQGMU7R2Z3KTU2E33JANCNFSM5NLQQ4BA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were assigned.Message ID: @.***>
Admin => Hitta en person => "mathieu" => screenshot removed
Admin => rapportera resultat => screenshot removed