Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 6.13 KB

README.md

File metadata and controls

11 lines (11 loc) · 6.13 KB
go run cmd/index/main.go --workers 3 -index sewik_zdarzenia_2 "data/in/*/*.xml" > data/error_2.log
#Indexed [6,589,126] documents with [2] errors in 52m59.464s (2,072 docs/sec)

Errors

{"err":"mapper_parsing_exception","reason":"failed to parse field [UCZESTNICY.OSOBA.DATA_UR] of type [date] in document with id '10584698'. Preview of field's value: '0000-00-00'","itemId":"10584698","doc":{"DATA_ZDARZ":"2007-01-23","DATA_ZDARZENIA":"2007-01-23T06:42:00","DROGA_PUBLICZNA":"T","GMINA":"WARSZAWA","GODZINA_ZDARZ":"06:42:00","ID":"10584698","INFO_O_DRODZE":{"NAWIERZCHNIA":{"NADR_KOD":"01","NADR_TABK_TYPE":"NADR","ZSZD_ID":"10584698"},"OZNAKOWANIE_POZIOME":{"OZPO_KOD":"A1","OZPO_TABK_TYPE":"OZPO","ZSZD_ID":"10584698"},"RODZAJ_DROGI":{"RODR_KOD":"03","RODR_TABK_TYPE":"RODR","ZSZD_ID":"10584698"},"STAN_NAWIERZCHNI":[{"STNA_KOD":[{"STNA_KOD":"01","STNA_TABK_TYPE":"STNA","ZSZD_ID":"10584698"}]}],"SYGNALIZACJA_SWIETLNA":{"SYSW_KOD":"03","SYSW_TABK_TYPE":"SYSW","ZSZD_ID":"10584698"}},"JEDNOSTKA_MIEJSCA":"WA KSP Warszawa Wydział Ruchu Drogowego","JEDNOSTKA_OPERATORA":"WA KSP Warszawa","MIEJSCE":{"CHARAKT_MIEJSCA":{"CHMZ_KOD":"A1","CHMZ_TABK_TYPE":"CHMZ","ZSZD_ID":"10584698"},"OBSZAR_ZABUDOWANY":{"ZABU_KOD":"01","ZABU_TABK_TYPE":"ZABU","ZSZD_ID":"10584698"}},"MIEJSCOWOSC":"WARSZAWA","NR_KW":"Nr Rejestru 1857/07","NUMER_DOMU":"MZA \"RONDO WASZYNGTONA 01\"","POJAZDY":{"POJAZD":[{"ID":"13338149","MARKA":"SKODA NIEOKREŚLONY","NR_POJAZDU":"1","RODZAJ_POJAZDU":"IS21","SPSU_KOD":"WARTA","SPSU_TABK_TYPE":"SPSU","ZSZD_ID":"10584698"},{"ID":"13338157","MARKA":"MERCEDES NIEOKREŚLONY","NR_POJAZDU":"2","RODZAJ_POJAZDU":"IS21","SPSU_KOD":"LINK4","SPSU_TABK_TYPE":"SPSU","ZSZD_ID":"10584698"},{"ID":"13340140","MARKA":"PEUGEOT NIEOKREŚLONY","NR_POJAZDU":"3","RODZAJ_POJAZDU":"IS21","ZSZD_ID":"10584698"}]},"POWIAT":"POWIAT  M.ST. WARSZAWA","PREDKOSC_DOPUSZCZALNA":"50","STREFA_ZAMIESZKALA":"T","SZOS_KOD":"03","SZOS_TABK_TYPE":"SZOS","SZRD_KOD":"04","SZRD_TABK_TYPE":"SZRD","UCZESTNICY":{"OSOBA":[{"DATA_UR":"0000-00-00","ID":"13801949","LICZBA_LAT_KIEROWANIA":"4","PLEC":"M","PRZYCZYNY_KIEROWCY":{"SPSZ_KOD":"A3","SPSZ_TABK_TYPE":"SPSZ","ZSUC_ID":"13801949"},"SOBY_KOD":"PL","SOBY_TABK_TYPE":"SOBY","SRUZ_KOD":"D","SRUZ_TABK_TYPE":"SRUZ","SSRU_KOD":"K","SSRU_TABK_TYPE":"SSRU","SUSU_KOD":"P","SUSU_TABK_TYPE":"SUSU","ZSPO_ID":"13338149","ZSZD_ID":"10584698"},{"DATA_UR":"1976-03-03","ID":"13802935","LICZBA_LAT_KIEROWANIA":"7","PLEC":"M","SOBY_KOD":"PL","SOBY_TABK_TYPE":"SOBY","SSRU_KOD":"K","SSRU_TABK_TYPE":"SSRU","SUSU_KOD":"P","SUSU_TABK_TYPE":"SUSU","ZSPO_ID":"13338157","ZSZD_ID":"10584698"},{"DATA_UR":"1959-01-01","ID":"13803940","PLEC":"K","SSRU_KOD":"I","SSRU_TABK_TYPE":"SSRU","STUC_KOD":"RC","STUC_TABK_TYPE":"STUC","ZSZD_ID":"10584698"},{"DATA_UR":"1969-12-06","ID":"26056942","LICZBA_LAT_KIEROWANIA":"4","PLEC":"M","SOBY_KOD":"PL","SOBY_TABK_TYPE":"SOBY","SSRU_KOD":"K","SSRU_TABK_TYPE":"SSRU","SUSU_KOD":"P","SUSU_TABK_TYPE":"SUSU","ZSPO_ID":"13340140","ZSZD_ID":"10584698"}]},"ULICA_ADRES":"AL. KS. PONIATOWSKIEGO","USZKODZENIA_POZA_POJAZDAMI":{"SSUP_KOD":[{"SSUP_KOD":"88","SSUP_TABK_TYPE":"SSUP","ZSZD_ID":"10584698"}]},"WARUNKI_ATMOSFERYCZNE":{"SSWA_KOD":[{"SSWA_KOD":"01","SSWA_TABK_TYPE":"SSWA","ZSZD_ID":"10584698"}]},"WOJ":"WOJ. MAZOWIECKIE","_src":"data/in/2007/SEWIK_EXP_XML_02_2007_WOJ_MAZOWIECKIE.xml"}}
{"err":"mapper_parsing_exception","reason":"failed to parse field [UCZESTNICY.OSOBA.DATA_UR] of type [date] in document with id '98416848'. Preview of field's value: '0000-00-00'","itemId":"98416848","doc":{"DATA_ZDARZ":"2014-09-21","DATA_ZDARZENIA":"2014-09-21T13:05:00","DROGA_PUBLICZNA":"T","DataMod":"2014-09-23","DataUtworzenia":"2014-09-23","GMINA":"WROCŁAW-STARE MIASTO - OBSZAR MIEJSKI","GODZINA_ZDARZ":"13:05:00","GPS_X_GUS":"17.0045967997396","GPS_Y_GUS":"51.1172302161314","ID":"98416848","INFO_O_DRODZE":{"NAWIERZCHNIA":{"NADR_KOD":"01","NADR_TABK_TYPE":"NADR","ZSZD_ID":"98416848"},"OZNAKOWANIE_POZIOME":{"OZPO_KOD":"A2","OZPO_TABK_TYPE":"OZPO","ZSZD_ID":"98416848"},"RODZAJ_DROGI":{"RODR_KOD":"05","RODR_TABK_TYPE":"RODR","ZSZD_ID":"98416848"},"STAN_NAWIERZCHNI":[{"STNA_KOD":[{"STNA_KOD":"01","STNA_TABK_TYPE":"STNA","ZSZD_ID":"98416848"}]}],"SYGNALIZACJA_SWIETLNA":{"SYSW_KOD":"03","SYSW_TABK_TYPE":"SYSW","ZSZD_ID":"98416848"}},"INNE_PRZYCZYNY":{"SPIP_KOD":[{"SPIP_KOD":"A3","SPIP_TABK_TYPE":"SPIP","ZSZD_ID":"98416848"}]},"JEDNOSTKA_LIKWIDUJACA":"WR KMP Wrocław Wydział Ruchu Drogowego","JEDNOSTKA_MIEJSCA":"WR KMP Wrocław","JEDNOSTKA_OPERATORA":"WR KMP Wrocław","KOD_GUS":"0264059","MIEJSCE":{"CHARAKT_MIEJSCA":{"CHMZ_KOD":"10","CHMZ_TABK_TYPE":"CHMZ","ZSZD_ID":"98416848"},"GEOMETRIA_DROGI":[{"GEOD_KOD":[{"GEOD_KOD":"01","GEOD_TABK_TYPE":"GEOD","ZSZD_ID":"98416848"}]}],"OBSZAR_ZABUDOWANY":{"ZABU_KOD":"01","ZABU_TABK_TYPE":"ZABU","ZSZD_ID":"98416848"}},"MIEJSCOWOSC":"WROCŁAW","NR_KW":"KW 135025/14","NUMER_DOMU":"83","POJAZDY":{"POJAZD":[{"DataMod":"2014-09-23","DataUtworzenia":"2014-09-23","ID":"112793493","MARKA":"FORD MONDEO","NR_POJAZDU":"1","RODZAJ_POJAZDU":"IS21","SPSU_KOD":"1","SPSU_TABK_TYPE":"SPSU","ZSZD_ID":"98416848"}]},"POWIAT":"POWIAT WROCŁAW","PREDKOSC_DOPUSZCZALNA":"50","SZOS_KOD":"01","SZOS_TABK_TYPE":"SZOS","SZRD_KOD":"A1","SZRD_TABK_TYPE":"SZRD","SzkicZdarzenia":"N","UCZESTNICY":{"OSOBA":[{"DATA_UR":"1986-03-13","DataMod":"2014-09-23","DataUtworzenia":"2014-09-23","ID":"115152411","LICZBA_LAT_KIEROWANIA":"8","PLEC":"M","SOBY_KOD":"PL","SOBY_TABK_TYPE":"SOBY","SSRU_KOD":"K","SSRU_TABK_TYPE":"SSRU","SUSU_KOD":"P","SUSU_TABK_TYPE":"SUSU","ZSPO_ID":"112793493","ZSZD_ID":"98416848"},{"DATA_UR":"0000-00-00","DataMod":"2015-01-23","DataUtworzenia":"2014-09-23","ID":"115152430","PLEC":"K","SOBY_KOD":"PL","SOBY_TABK_TYPE":"SOBY","SRUZ_KOD":"W","SRUZ_TABK_TYPE":"SRUZ","SSRU_KOD":"P","SSRU_TABK_TYPE":"SSRU","ZSPO_ID":"112793493","ZSZD_ID":"98416848"}]},"ULICA_ADRES":"TĘCZOWA","USZKODZENIA_POZA_POJAZDAMI":{"SSUP_KOD":[{"SSUP_KOD":"90","SSUP_TABK_TYPE":"SSUP","ZSZD_ID":"98416848"}]},"WARUNKI_ATMOSFERYCZNE":{"SSWA_KOD":[{"SSWA_KOD":"01","SSWA_TABK_TYPE":"SSWA","ZSZD_ID":"98416848"}]},"WOJ":"WOJ. DOLNOŚLĄSKIE","WSP_GPS_X":"17*00'265","WSP_GPS_Y":"51*06'143","ZSSD_KOD":"1677D","_src":"data/in/2014/SEWIK_EXP_N_XML_02_WOJ__DOLNO¦LˇSKIE_2014.xml"}}