1 2
| vagrant@cli:~/npm_analyzer/npms-analyzer$ ./cli.js scoring {"level":60,"time":1574226093326,"pid":803,"hostname":"cli","name":"npms-analyzer","module":"cli/scoring","err":{"msg":"[mapper_parsing_exception] Root mapping definition has unsupported parameters: [score : {dynamic=false, _all={enabled=false}, properties={evaluation={type=object, properties={popularity={type=object, properties={downloadsCount={index=false, type=double}, dependentsCount={index=false, type=double}, communityInterest={index=false, type=double}, downloadsAcceleration={index=false, type=double}}}, maintenance={type=object, properties={releasesFrequency={index=false, type=double}, commitsFrequency={index=false, type=double}, issuesDistribution={index=false, type=double}, openIssues={index=false, type=double}}}, quality={type=object, properties={tests={index=false, type=double}, branding={index=false, type=double}, health={index=false, type=double}, carefulness={index=false, type=double}}}}}, score={type=object, properties={final={type=double}, detail={type=object, properties={popularity={type=double}, maintenance={type=double}, quality={type=double}}}}}, package={type=object, properties={date={index=false, type=date}, maintainers={type=object, properties={email={normalizer=raw, type=keyword}, username={normalizer=raw, type=keyword}}}, keywords={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, raw={analyzer=raw, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, author={type=object, properties={name={normalizer=raw, type=keyword}, email={normalizer=raw, type=keyword}, url={index=false, type=text}, username={normalizer=raw, type=keyword}}}, scope={normalizer=raw, type=keyword}, name={type=text, fields={standard={analyzer=standard, type=text}, autocomplete={search_analyzer=package, analyzer=package_autocomplete, type=text}, english={analyzer=package_english, type=text}, raw={normalizer=raw, type=keyword}, english_aggressive={analyzer=package_english_aggressive, type=text}, autocomplete_highlight={search_analyzer=package, analyzer=package_autocomplete_highlight, type=text, index_options=offsets}, autocomplete_keyword={search_analyzer=package_autocomplete_keyword_search, analyzer=package_autocomplete_keyword, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, description={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, publisher={type=object, properties={email={index=false, type=text}, username={index=false, type=text}}}, links={type=object, properties={bugs={index=false, type=text}, npm={index=false, type=text}, repository={index=false, type=text}, homepage={index=false, type=text}}}, version={index=false, type=text}}}, flags={type=object, properties={unstable={type=boolean}, deprecated={type=text, index_options=docs}, insecure={type=integer}}}}}]","path":"/npms-1574226087671","query":{},"body":"{\"settings\":{\"number_of_shards\":1,\"number_of_replicas\":0,\"analysis\":{\"tokenizer\":{\"autocomplete\":{\"type\":\"edgeNGram\",\"min_gram\":\"1\",\"max_gram\":\"15\",\"token_chars\":[\"letter\",\"digit\"]}},\"filter\":{\"non_alfanum_to_space\":{\"type\":\"pattern_replace\",\"pattern\":\"(?i)[^a-z0-9]+\",\"replacement\":\" \"},\"split_word\":{\"type\":\"word_delimiter\",\"generate_word_parts\":true,\"generate_number_parts\":true,\"catenate_words\":false,\"catenate_numbers\":false,\"catenate_all\":false,\"split_on_case_change\":true,\"preserve_original\":true,\"split_on_numerics\":true,\"stem_english_possessive\":true},\"edge_ngram\":{\"type\":\"edgeNGram\",\"min_gram\":\"4\",\"max_gram\":\"15\"},\"autocomplete\":{\"type\":\"edgeNGram\",\"min_gram\":\"1\",\"max_gram\":\"15\"},\"unique_on_same_position\":{\"type\":\"unique\",\"only_on_same_position\":false}},\"analyzer\":{\"package\":{\"tokenizer\":\"standard\",\"filter\":[\"asciifolding\",\"split_word\",\"lowercase\",\"unique_on_same_position\"]},\"package_english\":{\"tokenizer\":\"standard\",\"filter\":[\"asciifolding\",\"split_word\",\"lowercase\",\"kstem\",\"unique_on_same_position\"]},\"package_english_aggressive\":{\"tokenizer\":\"standard\",\"filter\":[\"asciifolding\",\"split_word\",\"lowercase\",\"porter_stem\",\"unique_on_same_position\"]},\"package_edge_ngram\":{\"tokenizer\":\"standard\",\"filter\":[\"asciifolding\",\"split_word\",\"lowercase\",\"edge_ngram\",\"unique_on_same_position\"]},\"package_autocomplete\":{\"tokenizer\":\"standard\",\"filter\":[\"asciifolding\",\"split_word\",\"lowercase\",\"autocomplete\",\"unique_on_same_position\"]},\"package_autocomplete_keyword\":{\"tokenizer\":\"keyword\",\"filter\":[\"asciifolding\",\"non_alfanum_to_space\",\"lowercase\",\"autocomplete\",\"trim\",\"unique_on_same_position\"]},\"package_autocomplete_keyword_search\":{\"tokenizer\":\"keyword\",\"filter\":[\"asciifolding\",\"non_alfanum_to_space\",\"lowercase\",\"trim\"]},\"package_autocomplete_highlight\":{\"tokenizer\":\"autocomplete\",\"filter\":[\"asciifolding\",\"non_alfanum_to_space\",\"lowercase\",\"trim\"]},\"raw\":{\"tokenizer\":\"keyword\",\"filter\":[\"asciifolding\",\"lowercase\",\"trim\"]}},\"normalizer\":{\"raw\":{\"type\":\"custom\",\"filter\":[\"asciifolding\",\"lowercase\",\"trim\"]}}}},\"mappings\":{\"score\":{\"dynamic\":false,\"_all\":{\"enabled\":false},\"properties\":{\"package\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"text\",\"fields\":{\"standard\":{\"type\":\"text\",\"analyzer\":\"standard\"},\"english\":{\"type\":\"text\",\"analyzer\":\"package_english\"},\"english_aggressive\":{\"type\":\"text\",\"analyzer\":\"package_english_aggressive\"},\"edge_ngram\":{\"type\":\"text\",\"analyzer\":\"package_edge_ngram\",\"search_analyzer\":\"package\"},\"autocomplete\":{\"type\":\"text\",\"analyzer\":\"package_autocomplete\",\"search_analyzer\":\"package\"},\"autocomplete_highlight\":{\"type\":\"text\",\"analyzer\":\"package_autocomplete_highlight\",\"search_analyzer\":\"package\",\"index_options\":\"offsets\"},\"autocomplete_keyword\":{\"type\":\"text\",\"analyzer\":\"package_autocomplete_keyword\",\"search_analyzer\":\"package_autocomplete_keyword_search\"},\"raw\":{\"type\":\"keyword\",\"normalizer\":\"raw\"}}},\"description\":{\"type\":\"text\",\"fields\":{\"standard\":{\"type\":\"text\",\"analyzer\":\"standard\"},\"english\":{\"type\":\"text\",\"analyzer\":\"package_english\"},\"english_aggressive\":{\"type\":\"text\",\"analyzer\":\"package_english_aggressive\"},\"edge_ngram\":{\"type\":\"text\",\"analyzer\":\"package_edge_ngram\",\"search_analyzer\":\"package\"}}},\"keywords\":{\"type\":\"text\",\"fields\":{\"standard\":{\"type\":\"text\",\"analyzer\":\"standard\"},\"english\":{\"type\":\"text\",\"analyzer\":\"package_english\"},\"english_aggressive\":{\"type\":\"text\",\"analyzer\":\"package_english_aggressive\"},\"edge_ngram\":{\"type\":\"text\",\"analyzer\":\"package_edge_ngram\",\"search_analyzer\":\"package\"},\"raw\":{\"type\":\"text\",\"analyzer\":\"raw\"}}},\"version\":{\"type\":\"text\",\"index\":false},\"date\":{\"type\":\"date\",\"index\":false},\"links\":{\"type\":\"object\",\"properties\":{\"npm\":{\"type\":\"text\",\"index\":false},\"homepage\":{\"type\":\"text\",\"index\":false},\"repository\":{\"type\":\"text\",\"index\":false},\"bugs\":{\"type\":\"text\",\"index\":false}}},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"keyword\",\"normalizer\":\"raw\"},\"username\":{\"type\":\"keyword\",\"normalizer\":\"raw\"},\"email\":{\"type\":\"keyword\",\"normalizer\":\"raw\"},\"url\":{\"type\":\"text\",\"index\":false}}},\"publisher\":{\"type\":\"object\",\"properties\":{\"username\":{\"type\":\"text\",\"index\":false},\"email\":{\"type\":\"text\",\"index\":false}}},\"maintainers\":{\"type\":\"object\",\"properties\":{\"username\":{\"type\":\"keyword\",\"normalizer\":\"raw\"},\"email\":{\"type\":\"keyword\",\"normalizer\":\"raw\"}}},\"scope\":{\"type\":\"keyword\",\"normalizer\":\"raw\"}}},\"flags\":{\"type\":\"object\",\"properties\":{\"deprecated\":{\"type\":\"text\",\"index_options\":\"docs\"},\"insecure\":{\"type\":\"integer\"},\"unstable\":{\"type\":\"boolean\"}}},\"evaluation\":{\"type\":\"object\",\"properties\":{\"quality\":{\"type\":\"object\",\"properties\":{\"carefulness\":{\"type\":\"double\",\"index\":false},\"tests\":{\"type\":\"double\",\"index\":false},\"health\":{\"type\":\"double\",\"index\":false},\"branding\":{\"type\":\"double\",\"index\":false}}},\"popularity\":{\"type\":\"object\",\"properties\":{\"communityInterest\":{\"type\":\"double\",\"index\":false},\"downloadsCount\":{\"type\":\"double\",\"index\":false},\"downloadsAcceleration\":{\"type\":\"double\",\"index\":false},\"dependentsCount\":{\"type\":\"double\",\"index\":false}}},\"maintenance\":{\"type\":\"object\",\"properties\":{\"releasesFrequency\":{\"type\":\"double\",\"index\":false},\"commitsFrequency\":{\"type\":\"double\",\"index\":false},\"openIssues\":{\"type\":\"double\",\"index\":false},\"issuesDistribution\":{\"type\":\"double\",\"index\":false}}}}},\"score\":{\"type\":\"object\",\"properties\":{\"final\":{\"type\":\"double\"},\"detail\":{\"type\":\"object\",\"properties\":{\"quality\":{\"type\":\"double\"},\"popularity\":{\"type\":\"double\"},\"maintenance\":{\"type\":\"double\"}}}}}}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"mapper_parsing_exception\",\"reason\":\"Root mapping definition has unsupported parameters: [score : {dynamic=false, _all={enabled=false}, properties={evaluation={type=object, properties={popularity={type=object, properties={downloadsCount={index=false, type=double}, dependentsCount={index=false, type=double}, communityInterest={index=false, type=double}, downloadsAcceleration={index=false, type=double}}}, maintenance={type=object, properties={releasesFrequency={index=false, type=double}, commitsFrequency={index=false, type=double}, issuesDistribution={index=false, type=double}, openIssues={index=false, type=double}}}, quality={type=object, properties={tests={index=false, type=double}, branding={index=false, type=double}, health={index=false, type=double}, carefulness={index=false, type=double}}}}}, score={type=object, properties={final={type=double}, detail={type=object, properties={popularity={type=double}, maintenance={type=double}, quality={type=double}}}}}, package={type=object, properties={date={index=false, type=date}, maintainers={type=object, properties={email={normalizer=raw, type=keyword}, username={normalizer=raw, type=keyword}}}, keywords={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, raw={analyzer=raw, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, author={type=object, properties={name={normalizer=raw, type=keyword}, email={normalizer=raw, type=keyword}, url={index=false, type=text}, username={normalizer=raw, type=keyword}}}, scope={normalizer=raw, type=keyword}, name={type=text, fields={standard={analyzer=standard, type=text}, autocomplete={search_analyzer=package, analyzer=package_autocomplete, type=text}, english={analyzer=package_english, type=text}, raw={normalizer=raw, type=keyword}, english_aggressive={analyzer=package_english_aggressive, type=text}, autocomplete_highlight={search_analyzer=package, analyzer=package_autocomplete_highlight, type=text, index_options=offsets}, autocomplete_keyword={search_analyzer=package_autocomplete_keyword_search, analyzer=package_autocomplete_keyword, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, description={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, publisher={type=object, properties={email={index=false, type=text}, username={index=false, type=text}}}, links={type=object, properties={bugs={index=false, type=text}, npm={index=false, type=text}, repository={index=false, type=text}, homepage={index=false, type=text}}}, version={index=false, type=text}}}, flags={type=object, properties={unstable={type=boolean}, deprecated={type=text, index_options=docs}, insecure={type=integer}}}}}]\"}],\"type\":\"mapper_parsing_exception\",\"reason\":\"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [score : {dynamic=false, _all={enabled=false}, properties={evaluation={type=object, properties={popularity={type=object, properties={downloadsCount={index=false, type=double}, dependentsCount={index=false, type=double}, communityInterest={index=false, type=double}, downloadsAcceleration={index=false, type=double}}}, maintenance={type=object, properties={releasesFrequency={index=false, type=double}, commitsFrequency={index=false, type=double}, issuesDistribution={index=false, type=double}, openIssues={index=false, type=double}}}, quality={type=object, properties={tests={index=false, type=double}, branding={index=false, type=double}, health={index=false, type=double}, carefulness={index=false, type=double}}}}}, score={type=object, properties={final={type=double}, detail={type=object, properties={popularity={type=double}, maintenance={type=double}, quality={type=double}}}}}, package={type=object, properties={date={index=false, type=date}, maintainers={type=object, properties={email={normalizer=raw, type=keyword}, username={normalizer=raw, type=keyword}}}, keywords={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, raw={analyzer=raw, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, author={type=object, properties={name={normalizer=raw, type=keyword}, email={normalizer=raw, type=keyword}, url={index=false, type=text}, username={normalizer=raw, type=keyword}}}, scope={normalizer=raw, type=keyword}, name={type=text, fields={standard={analyzer=standard, type=text}, autocomplete={search_analyzer=package, analyzer=package_autocomplete, type=text}, english={analyzer=package_english, type=text}, raw={normalizer=raw, type=keyword}, english_aggressive={analyzer=package_english_aggressive, type=text}, autocomplete_highlight={search_analyzer=package, analyzer=package_autocomplete_highlight, type=text, index_options=offsets}, autocomplete_keyword={search_analyzer=package_autocomplete_keyword_search, analyzer=package_autocomplete_keyword, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, description={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, publisher={type=object, properties={email={index=false, type=text}, username={index=false, type=text}}}, links={type=object, properties={bugs={index=false, type=text}, npm={index=false, type=text}, repository={index=false, type=text}, homepage={index=false, type=text}}}, version={index=false, type=text}}}, flags={type=object, properties={unstable={type=boolean}, deprecated={type=text, index_options=docs}, insecure={type=integer}}}}}]\",\"caused_by\":{\"type\":\"mapper_parsing_exception\",\"reason\":\"Root mapping definition has unsupported parameters: [score : {dynamic=false, _all={enabled=false}, properties={evaluation={type=object, properties={popularity={type=object, properties={downloadsCount={index=false, type=double}, dependentsCount={index=false, type=double}, communityInterest={index=false, type=double}, downloadsAcceleration={index=false, type=double}}}, maintenance={type=object, properties={releasesFrequency={index=false, type=double}, commitsFrequency={index=false, type=double}, issuesDistribution={index=false, type=double}, openIssues={index=false, type=double}}}, quality={type=object, properties={tests={index=false, type=double}, branding={index=false, type=double}, health={index=false, type=double}, carefulness={index=false, type=double}}}}}, score={type=object, properties={final={type=double}, detail={type=object, properties={popularity={type=double}, maintenance={type=double}, quality={type=double}}}}}, package={type=object, properties={date={index=false, type=date}, maintainers={type=object, properties={email={normalizer=raw, type=keyword}, username={normalizer=raw, type=keyword}}}, keywords={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, raw={analyzer=raw, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, author={type=object, properties={name={normalizer=raw, type=keyword}, email={normalizer=raw, type=keyword}, url={index=false, type=text}, username={normalizer=raw, type=keyword}}}, scope={normalizer=raw, type=keyword}, name={type=text, fields={standard={analyzer=standard, type=text}, autocomplete={search_analyzer=package, analyzer=package_autocomplete, type=text}, english={analyzer=package_english, type=text}, raw={normalizer=raw, type=keyword}, english_aggressive={analyzer=package_english_aggressive, type=text}, autocomplete_highlight={search_analyzer=package, analyzer=package_autocomplete_highlight, type=text, index_options=offsets}, autocomplete_keyword={search_analyzer=package_autocomplete_keyword_search, analyzer=package_autocomplete_keyword, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, description={type=text, fields={standard={analyzer=standard, type=text}, english={analyzer=package_english, type=text}, english_aggressive={analyzer=package_english_aggressive, type=text}, edge_ngram={search_analyzer=package, analyzer=package_edge_ngram, type=text}}}, publisher={type=object, properties={email={index=false, type=text}, username={index=false, type=text}}}, links={type=object, properties={bugs={index=false, type=text}, npm={index=false, type=text}, repository={index=false, type=text}, homepage={index=false, type=text}}}, version={index=false, type=text}}}, flags={type=object, properties={unstable={type=boolean}, deprecated={type=text, index_options=docs}, insecure={type=integer}}}}}]\"}},\"status\":400}"},"msg":"Scoring cycle failed","v":1}
|