{"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/comments/9152591","html_url":"https://github.com/jirikuncar/invenio/commit/441cc96e6f678bd07c69d54c0ee525b45c230d72#commitcomment-9152591","id":9152591,"user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"position":0,"line":null,"path":"invenio/legacy/search_engine/__init__.py","commit_id":"441cc96e6f678bd07c69d54c0ee525b45c230d72","created_at":"2015-01-05T12:27:49Z","updated_at":"2015-01-05T12:27:49Z","body":"4: I102 copyright year is outdated, expected 2015 but got 2014\n30:1: F401 'cStringIO' imported but unused\n40:1: F401 'CFG_XAPIAN_ENABLED' imported but unused\n40:1: F401 'CFG_OAI_ID_FIELD' imported but unused\n40:1: F401 'CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS' imported but unused\n40:1: F401 'CFG_WEBSEARCH_WILDCARD_LIMIT' imported but unused\n40:1: F401 'CFG_WEBSEARCH_USE_ALEPH_SYSNOS' imported but unused\n40:1: F401 'CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS' imported but unused\n40:1: F401 'CFG_WEBSEARCH_SEARCH_CACHE_SIZE' imported but unused\n40:1: F401 'CFG_WEBSEARCH_SEARCH_CACHE_TIMEOUT' imported but unused\n40:1: F401 'CFG_SCOAP3_SITE' imported but unused\n40:1: F401 'CFG_WEBSEARCH_CALL_BIBFORMAT' imported but unused\n40:1: F401 'CFG_BASE_URL' imported but unused\n40:1: F401 'CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS' imported but unused\n40:1: F401 'CFG_SITE_RECORD' imported but unused\n40:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS' imported but unused\n40:1: F401 'CFG_INSPIRE_SITE' imported but unused\n40:1: F401 'CFG_LOGDIR' imported but unused\n40:1: F401 'CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG' imported but unused\n40:1: F401 'CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT' imported but unused\n40:1: F401 'CFG_WEBCOMMENT_ALLOW_REVIEWS' imported but unused\n40:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused\n40:1: F401 'CFG_WEBSEARCH_SYNONYM_KBRS' imported but unused\n40:1: F401 'CFG_WEBSEARCH_DETAILED_META_FORMAT' imported but unused\n40:1: F401 'CFG_WEBSEARCH_FULLTEXT_SNIPPETS' imported but unused\n40:1: F401 'CFG_WEBSEARCH_CREATE_SIMILARLY_NAMED_AUTHORS_LINK_BOX' imported but unused\n40:1: F401 'CFG_SOLR_URL' imported but unused\n40:1: F401 'CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH' imported but unused\n40:1: F401 'CFG_WEBSEARCH_IDXPAIRS_FIELDS' imported but unused\n41:6: E126 continuation line over-indented for hanging indent\n89:1: F401 'get_most_popular_field_values' imported but unused\n91:6: E126 continuation line over-indented for hanging indent\n93:1: F401 'get_fieldvalues_alephseq_like' imported but unused\n96:1: F401 'record_xml_output' imported but unused\n97:1: F401 'rank_by_citations' imported but unused\n97:1: F401 'get_bibrank_methods' imported but unused\n102:1: F401 'register_page_view_event' imported but unused\n102:1: F401 'calculate_reading_similarity_list' imported but unused\n105:1: F401 'author_name_requires_phrase_search' imported but unused\n108:1: F401 'CFG_BIBINDEX_SYNONYM_MATCH_TYPE' imported but unused\n109:1: F401 'create_excel' imported but unused\n109:1: F401 'get_output_format_content_type' imported but unused\n109:1: F401 'format_record' imported but unused\n109:1: F401 'format_records' imported but unused\n110:1: F401 'create_download_history_graph_and_box' imported but unused\n112:1: F401 'print_external_results_overview' imported but unused\n117:1: F401 'get_detailed_page_tabs' imported but unused\n117:1: F401 'get_detailed_page_tabs_counts' imported but unused\n122:1: F401 'encode_for_xml' imported but unused\n130:1: F401 'get_citedby_hitset' imported but unused\n130:1: F401 'calculate_co_cited_with_list' imported but unused\n130:1: F401 'calculate_cited_by_list' imported but unused\n130:1: F401 'get_refersto_hitset' imported but unused\n130:1: F401 'get_records_with_num_cites' imported but unused\n130:1: F401 'get_cited_by_list' imported but unused\n130:1: F401 'get_citers_log' imported but unused\n130:1: F401 'get_refers_to_list' imported but unused\n135:1: F401 'create_citation_history_graph_and_box' imported but unused\n136:1: F401 'get_self_refers_to_list' imported but unused\n136:1: F401 'get_self_cited_by' imported but unused\n136:1: F401 'get_self_cited_by_list' imported but unused\n137:55: E126 continuation line over-indented for hanging indent\n142:1: F401 'collect_user_info' imported but unused\n143:1: F401 'pagefooteronly' imported but unused\n143:1: F401 'create_error_box' imported but unused\n143:1: F401 'write_warning' imported but unused\n143:1: F401 'pageheaderonly' imported but unused\n146:1: F401 'apache' imported but unused\n148:1: F401 'do_calculate_hosted_collections_results' imported but unused\n148:1: F401 'calculate_hosted_collections_results' imported but unused\n149:1: F401 'CFG_EXTERNAL_COLLECTION_MAXRESULTS' imported but unused\n151:1: F401 'BIBAUTHORID_LIMIT_TO_COLLECTIONS' imported but unused\n156:33: E261 at least two spaces before inline comment\n157:39: E261 at least two spaces before inline comment\n180:22: E203 whitespace before ':'\n180:14: E225 missing whitespace around operator\n181:24: E203 whitespace before ':'\n182:24: E203 whitespace before ':'\n183:28: E203 whitespace before ':'\n184:30: E203 whitespace before ':'\n185:24: E203 whitespace before ':'\n186:23: E203 whitespace before ':'\n187:29: E203 whitespace before ':'\n188:26: E203 whitespace before ':'\n189:33: E203 whitespace before ':'\n190:30: E203 whitespace before ':'\n191:30: E203 whitespace before ':'\n192:30: E203 whitespace before ':'\n193:30: E203 whitespace before ':'\n194:30: E203 whitespace before ':'\n195:30: E203 whitespace before ':'\n196:41: E703 statement ends with a semicolon\n201:1: F401 'get_permitted_restricted_collections' imported but unused\n204: D400 First line should end with '.', not 's'\n204: D205 Blank line missing between one-line summary and description\n214:1: E302 expected 2 blank lines, found 1\n214: D200 One-line docstring should not occupy 3 lines\n225:1: E302 expected 2 blank lines, found 1\n225: D400 First line should end with '.', not 'r'\n225: D205 Blank line missing between one-line summary and description\n253:1: E302 expected 2 blank lines, found 1\n253: D202 No blank lines allowed *after* function docstring, found 1\n253: D400 First line should end with '.', not 's'\n253: D205 Blank line missing between one-line summary and description\n279:1: E302 expected 2 blank lines, found 1\n279: D400 First line should end with '.', not 'n'\n279: D205 Blank line missing between one-line summary and description\n345:1: E302 expected 2 blank lines, found 1\n345: D203 Expected 1 blank line *before* class docstring, found 0\n345: D204 Expected 1 blank line *after* class docstring, found 0\n345: D205 Blank line missing between one-line summary and description\n351: D102 Docstring missing\n366:5: F821 undefined name 'index_stemming_cache'\n370:1: E302 expected 2 blank lines, found 1\n380: D203 Expected 1 blank line *before* class docstring, found 0\n380: D204 Expected 1 blank line *after* class docstring, found 0\n380: D400 First line should end with '.', not 'e'\n380: D205 Blank line missing between one-line summary and description\n385: D102 Docstring missing\n389:150: E261 at least two spaces before inline comment\n406:12: F821 undefined name 'collection_i18nname_cache'\n411:1: E302 expected 2 blank lines, found 1\n411: D400 First line should end with '.', not \"'\"\n411: D205 Blank line missing between one-line summary and description\n434:13: E261 at least two spaces before inline comment\n437:1: E302 expected 2 blank lines, found 1\n437: D203 Expected 1 blank line *before* class docstring, found 0\n437: D204 Expected 1 blank line *after* class docstring, found 0\n437: D400 First line should end with '.', not 'd'\n437: D205 Blank line missing between one-line summary and description\n442: D102 Docstring missing\n446:135: E261 at least two spaces before inline comment\n463:12: F821 undefined name 'field_i18nname_cache'\n468:1: E302 expected 2 blank lines, found 1\n468: D400 First line should end with '.', not 'r'\n468: D205 Blank line missing between one-line summary and description\n485:13: E261 at least two spaces before inline comment\n494: D401 First line should be imperative: 'Return', not 'Returns'\n494: D400 First line should end with '.', not 'y'\n494: D205 Blank line missing between one-line summary and description\n508: D401 First line should be imperative: 'Create', not 'Creates'\n508: D400 First line should end with '.', not 'g'\n509:35: E128 continuation line under-indented for visual indent\n522:68: E128 continuation line under-indented for visual indent\n523:68: E128 continuation line under-indented for visual indent\n527: D401 First line should be imperative: 'Create', not 'Creates'\n527: D202 No blank lines allowed *after* function docstring, found 1\n527: D400 First line should end with '.', not 'n'\n527: D205 Blank line missing between one-line summary and description\n535:33: E261 at least two spaces before inline comment\n545: D202 No blank lines allowed *after* function docstring, found 1\n545: D400 First line should end with '.', not 'd'\n545: D205 Blank line missing between one-line summary and description\n589:35: E261 at least two spaces before inline comment\n608:18: E225 missing whitespace around operator\n638:37: E261 at least two spaces before inline comment\n645:38: E261 at least two spaces before inline comment\n694:1: F401 'get_synonym_terms' imported but unused\n697: D209 Put multi-line docstring closing quotes on separate line\n697: D400 First line should end with '.', not 'e'\n697: D205 Blank line missing between one-line summary and description\n708:1: E302 expected 2 blank lines, found 1\n708: D209 Put multi-line docstring closing quotes on separate line\n708: D400 First line should end with '.', not 'y'\n708: D205 Blank line missing between one-line summary and description\n736:1: E302 expected 2 blank lines, found 1\n749:1: E302 expected 2 blank lines, found 1\n749: D400 First line should end with '.', not 'r'\n749: D205 Blank line missing between one-line summary and description\n767:24: E261 at least two spaces before inline comment\n804:31: E261 at least two spaces before inline comment\n805:32: E111 indentation is not a multiple of four\n805:32: E113 unexpected indentation\n806:32: E111 indentation is not a multiple of four\n806:32: E113 unexpected indentation\n811:1: E302 expected 2 blank lines, found 1\n811: D209 Put multi-line docstring closing quotes on separate line\n811: D202 No blank lines allowed *after* function docstring, found 1\n811: D400 First line should end with '.', not ':'\n811: D205 Blank line missing between one-line summary and description\n823:1: E302 expected 2 blank lines, found 1\n823: D300 Expected \"\"\"-quotes, got '-quotes\n831:1: E302 expected 2 blank lines, found 1\n831: D401 First line should be imperative: 'Return', not 'Returns'\n831: D209 Put multi-line docstring closing quotes on separate line\n831: D400 First line should end with '.', not 'e'\n831: D205 Blank line missing between one-line summary and description\n831: D208 Docstring is over-indented\n841:1: E302 expected 2 blank lines, found 1\n841: D401 First line should be imperative: 'Return', not 'Returns'\n841: D300 Expected \"\"\"-quotes, got '-quotes\n861:1: E302 expected 2 blank lines, found 1\n861: D205 Blank line missing between one-line summary and description\n861: D208 Docstring is over-indented\n889: D401 First line should be imperative: 'Return', not 'Returns'\n889: D202 No blank lines allowed *after* function docstring, found 1\n899:34: E261 at least two spaces before inline comment\n908:36: F821 undefined name 'get_nearest_terms_in_idxphrase_with_collection'\n910:27: F821 undefined name 'get_nearest_terms_in_bibxxx'\n915:35: F821 undefined name 'get_nearest_terms_in_bibxxx'\n940:30: F821 undefined name 'get_nbhits_in_bibxxx'\n947: D400 First line should end with '.', not 'o'\n947: D205 Blank line missing between one-line summary and description\n947: D208 Docstring is over-indented\n990: D401 First line should be imperative: 'Searche', not 'Searches'\n992:25: E261 at least two spaces before inline comment\n993:17: E261 at least two spaces before inline comment\n994:22: E261 at least two spaces before inline comment\n1003:27: E261 at least two spaces before inline comment\n1009:34: E261 at least two spaces before inline comment\n1010:32: E261 at least two spaces before inline comment\n1039:27: E128 continuation line under-indented for visual indent\n1042:30: E261 at least two spaces before inline comment\n1045:17: E261 at least two spaces before inline comment\n1055:32: E261 at least two spaces before inline comment\n1063:35: E128 continuation line under-indented for visual indent\n1063:75: E251 unexpected spaces around keyword / parameter equals\n1063:77: E251 unexpected spaces around keyword / parameter equals\n1066:38: E261 at least two spaces before inline comment\n1086:1: E302 expected 2 blank lines, found 1\n1086: D401 First line should be imperative: 'Searche', not 'Searches'\n1086: D209 Put multi-line docstring closing quotes on separate line\n1086: D400 First line should end with '.', not 'd'\n1086: D205 Blank line missing between one-line summary and description\n1089:22: E261 at least two spaces before inline comment\n1090:27: E261 at least two spaces before inline comment\n1103:36: E261 at least two spaces before inline comment\n1104:31: E261 at least two spaces before inline comment\n1130:41: E261 at least two spaces before inline comment\n1132:32: E261 at least two spaces before inline comment\n1135:35: E261 at least two spaces before inline comment\n1135:36: E262 inline comment should start with '# '\n1144:62: E261 at least two spaces before inline comment\n1144:63: E262 inline comment should start with '# '\n1159:22: E261 at least two spaces before inline comment\n1167:38: E128 continuation line under-indented for visual indent\n1167:110: E261 at least two spaces before inline comment\n1167:111: E262 inline comment should start with '# '\n1170:34: E261 at least two spaces before inline comment\n1173:23: E128 continuation line under-indented for visual indent\n1173:76: E261 at least two spaces before inline comment\n1173:77: E262 inline comment should start with '# '\n1183:6: E111 indentation is not a multiple of four\n1194:73: E225 missing whitespace around operator\n1194:116: E261 at least two spaces before inline comment\n1194:117: E262 inline comment should start with '# '\n1206: D401 First line should be imperative: 'Searche', not 'Searches'\n1206: D209 Put multi-line docstring closing quotes on separate line\n1206: D205 Blank line missing between one-line summary and description\n1212:25: E261 at least two spaces before inline comment\n1213:17: E261 at least two spaces before inline comment\n1214:22: E261 at least two spaces before inline comment\n1215:28: E261 at least two spaces before inline comment\n1223:31: E261 at least two spaces before inline comment\n1230:32: E261 at least two spaces before inline comment\n1231:30: E261 at least two spaces before inline comment\n1255:23: E128 continuation line under-indented for visual indent\n1258:30: E261 at least two spaces before inline comment\n1277:1: E302 expected 2 blank lines, found 1\n1277: D401 First line should be imperative: 'Searche', not 'Searches'\n1277: D209 Put multi-line docstring closing quotes on separate line\n1277: D202 No blank lines allowed *after* function docstring, found 1\n1277: D205 Blank line missing between one-line summary and description\n1285:22: E261 at least two spaces before inline comment\n1287:22: E261 at least two spaces before inline comment\n1288:22: E261 at least two spaces before inline comment\n1290:36: E261 at least two spaces before inline comment\n1296:40: E261 at least two spaces before inline comment\n1297:38: E261 at least two spaces before inline comment\n1313:21: E261 at least two spaces before inline comment\n1321:11: E261 at least two spaces before inline comment\n1338:31: E128 continuation line under-indented for visual indent\n1341:38: E261 at least two spaces before inline comment\n1348:37: E225 missing whitespace around operator\n1362:38: E261 at least two spaces before inline comment\n1370:5: F841 local variable 'nb_hits' is assigned to but never used\n1380: D202 No blank lines allowed *after* function docstring, found 1\n1380: D400 First line should end with '.', not 'd'\n1380: D205 Blank line missing between one-line summary and description\n1398: D200 One-line docstring should not occupy 3 lines\n1418:69: E261 at least two spaces before inline comment\n1426:24: E261 at least two spaces before inline comment\n1437:10: E261 at least two spaces before inline comment\n1453: D209 Put multi-line docstring closing quotes on separate line\n1453: D400 First line should end with '.', not 'y'\n1453: D205 Blank line missing between one-line summary and description\n1453: D208 Docstring is over-indented\n1466:38: E203 whitespace before ','\n1496:1: E302 expected 2 blank lines, found 0\n1496: D209 Put multi-line docstring closing quotes on separate line\n1496: D400 First line should end with '.', not 'g'\n1496: D205 Blank line missing between one-line summary and description\n1496: D208 Docstring is over-indented\n1522:1: E302 expected 2 blank lines, found 1\n1522: D400 First line should end with '.', not 'a'\n1522: D205 Blank line missing between one-line summary and description\n1534:1: E302 expected 2 blank lines, found 1\n1534: D209 Put multi-line docstring closing quotes on separate line\n1534: D205 Blank line missing between one-line summary and description\n1551: D290 White spaces around docstring should be trimmed.\n1551: D400 First line should end with '.', not 'h'\n1551: D205 Blank line missing between one-line summary and description\n1569: D401 First line should be imperative: 'I', not 'Is'\n1569: D400 First line should end with '.', not '?'\n1580:1: E302 expected 2 blank lines, found 1\n1580: D205 Blank line missing between one-line summary and description\n1580: D208 Docstring is over-indented\n1586:1: E302 expected 2 blank lines, found 1\n1586: D401 First line should be imperative: 'Return', not 'Returns'\n1586: D300 Expected \"\"\"-quotes, got '-quotes\n1598: D209 Put multi-line docstring closing quotes on separate line\n1598: D400 First line should end with '.', not 'd'\n1598: D205 Blank line missing between one-line summary and description\n1619: D205 Blank line missing between one-line summary and description\n1619: D208 Docstring is over-indented\n1630:20: E127 continuation line over-indented for visual indent\n1632:25: E126 continuation line over-indented for hanging indent\n1663:1: E302 expected 2 blank lines, found 1\n1663: D103 Docstring missing\n1669: D209 Put multi-line docstring closing quotes on separate line\n1686: D209 Put multi-line docstring closing quotes on separate line\n1686: D202 No blank lines allowed *after* function docstring, found 1\n1686: D205 Blank line missing between one-line summary and description\n1686: D208 Docstring is over-indented\n1691:5: F841 local variable '_' is assigned to but never used\n1716:20: E129 visually indented line with same indent as next logical line\n1740: D401 First line should be imperative: 'Thi', not 'This'\n1740: D400 First line should end with '.', not 'd'\n1821: D103 Docstring missing\n1830:1: E302 expected 2 blank lines, found 1\n1830: D209 Put multi-line docstring closing quotes on separate line\n1830: D202 No blank lines allowed *after* function docstring, found 1\n1830: D400 First line should end with '.', not 't'\n1830: D205 Blank line missing between one-line summary and description\n1830: D208 Docstring is over-indented\n1858:21: E261 at least two spaces before inline comment\n1859:22: E261 at least two spaces before inline comment\n1871:67: E261 at least two spaces before inline comment\n1875:30: E261 at least two spaces before inline comment\n1880:45: E261 at least two spaces before inline comment\n1900: D401 First line should be imperative: 'calculate', not 'calculates'\n1900: D209 Put multi-line docstring closing quotes on separate line\n1900: D202 No blank lines allowed *after* function docstring, found 1\n1900: D400 First line should end with '.', not 'e'\n1900: D205 Blank line missing between one-line summary and description\n1911:20: E261 at least two spaces before inline comment\n1915:17: E261 at least two spaces before inline comment\n1945:1: E302 expected 2 blank lines, found 1\n1963: D290 White spaces around docstring should be trimmed.\n1963: D400 First line should end with '.', not 'n'\n1969:25: E261 at least two spaces before inline comment\n1970:13: E222 multiple spaces after operator\n1993:10: E261 at least two spaces before inline comment\n2012: D103 Docstring missing\n2013:25: E128 continuation line under-indented for visual indent\n2014:25: E128 continuation line under-indented for visual indent\n2015:25: E128 continuation line under-indented for visual indent\n2016:25: E128 continuation line under-indented for visual indent\n2032: D401 First line should be imperative: 'Set', not 'Sets'\n2032: D202 No blank lines allowed *after* function docstring, found 1\n2032: D400 First line should end with '.', not 'l'\n2032: D200 One-line docstring should not occupy 3 lines\n2033:23: E128 continuation line under-indented for visual indent\n2034:23: E128 continuation line under-indented for visual indent\n2035:23: E128 continuation line under-indented for visual indent\n2036:23: E128 continuation line under-indented for visual indent\n2037:23: E128 continuation line under-indented for visual indent\n2098: D103 Docstring missing\n2099:9: E128 continuation line under-indented for visual indent\n2100:9: E128 continuation line under-indented for visual indent\n2102:29: E128 continuation line under-indented for visual indent\n2103:29: E128 continuation line under-indented for visual indent\n2104:29: E128 continuation line under-indented for visual indent\n2105:29: E128 continuation line under-indented for visual indent\n2106:29: E128 continuation line under-indented for visual indent"}}