Even filling this report should be considered as work in progress. This can gat a quite long issue since many log data will be posted. #137 is almost certainly related.
If one traces the queries LibreCat is doing during the creation of the frontpage it seems, that the queries got malformed:
[Mon Mar 27 12:31:50 2017] # Request to: http://searchnode:9200
curl -XHEAD 'http://localhost:9200/librecat?pretty=1'
[Mon Mar 27 12:31:50 2017] # Response: 200, Took: 83 ms
# 1
[Mon Mar 27 12:31:50 2017] # Request to: http://searchnode:9200
curl -XGET 'http://localhost:9200/librecat/publication/_search?pretty=1' -d '
{
"from" : 0,
"facets" : {
"status" : {
"terms" : {
"size" : 8,
"field" : "status"
}
},
"year" : {
"terms" : {
"size" : 100,
"field" : "year",
"order" : "reverse_term"
}
},
"open_access" : {
"terms" : {
"field" : "file.open_access",
"size" : 1
}
},
"isi" : {
"terms" : {
"size" : 1,
"field" : "isi"
}
},
"pmid" : {
"terms" : {
"field" : "pmid",
"size" : 1
}
},
"type" : {
"terms" : {
"size" : 25,
"field" : "type"
}
},
"popular_science" : {
"terms" : {
"field" : "popular_science",
"size" : 1
}
},
"extern" : {
"terms" : {
"field" : "extern",
"size" : 2
}
}
},
"cql_query" : "status=public AND type<>research_data",
"size" : 20,
"sru_sortkeys" : "",
"query" : {
"match_all" : {}
}
}
'
[Mon Mar 27 12:31:50 2017] # ERROR: Search::Elasticsearch::Error::Request [http://searchnode:9200]-[400] SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: from[0],size[-1]: Parse Failure [Failed to parse source [{"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"cql_query":"status=public AND type<>research_data","size":20,"sru_sortkeys":"","query":{"match_all":{}}}]]]; nested: SearchParseException[[librecat][0]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: from[0],size[-1]: Parse Failure [Failed to parse source [{"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"cql_query":"status=public AND type<>research_data","size":20,"sru_sortkeys":"","query":{"match_all":{}}}]]]; nested: SearchParseException[[librecat][1]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: from[0],size[-1]: Parse Failure [Failed to parse source [{"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"cql_query":"status=public AND type<>research_data","size":20,"sru_sortkeys":"","query":{"match_all":{}}}]]]; nested: SearchParseException[[librecat][2]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: from[0],size[-1]: Parse Failure [Failed to parse source [{"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"cql_query":"status=public AND type<>research_data","size":20,"sru_sortkeys":"","query":{"match_all":{}}}]]]; nested: SearchParseException[[librecat][3]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: from[0],size[-1]: Parse Failure [Failed to parse source [{"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"cql_query":"status=public AND type<>research_data","size":20,"sru_sortkeys":"","query":{"match_all":{}}}]]]; nested: SearchParseException[[librecat][4]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }]
# {
# "status" : 400,
# "error" : "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: from[0],size[-1]: Parse Failure [Failed to parse source [{\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"cql_query\":\"status=public AND type<>research_data\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}}}]]]; nested: SearchParseException[[librecat][0]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: from[0],size[-1]: Parse Failure [Failed to parse source [{\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"cql_query\":\"status=public AND type<>research_data\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}}}]]]; nested: SearchParseException[[librecat][1]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: from[0],size[-1]: Parse Failure [Failed to parse source [{\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"cql_query\":\"status=public AND type<>research_data\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}}}]]]; nested: SearchParseException[[librecat][2]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: from[0],size[-1]: Parse Failure [Failed to parse source [{\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"cql_query\":\"status=public AND type<>research_data\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}}}]]]; nested: SearchParseException[[librecat][3]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: from[0],size[-1]: Parse Failure [Failed to parse source [{\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"cql_query\":\"status=public AND type<>research_data\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}}}]]]; nested: SearchParseException[[librecat][4]: from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }]"
# }
[Mon Mar 27 12:31:50 2017] # Request to: http://searchnode:9200
curl -XGET 'http://localhost:9200/librecat/publication/_search?pretty=1' -d '
{
"facets" : {
"status" : {
"terms" : {
"size" : 8,
"field" : "status"
}
},
"year" : {
"terms" : {
"size" : 100,
"field" : "year",
"order" : "reverse_term"
}
},
"open_access" : {
"terms" : {
"field" : "file.open_access",
"size" : 1
}
},
"isi" : {
"terms" : {
"size" : 1,
"field" : "isi"
}
},
"pmid" : {
"terms" : {
"field" : "pmid",
"size" : 1
}
},
"type" : {
"terms" : {
"size" : 25,
"field" : "type"
}
},
"popular_science" : {
"terms" : {
"field" : "popular_science",
"size" : 1
}
},
"extern" : {
"terms" : {
"field" : "extern",
"size" : 2
}
}
},
"from" : 0,
"query" : {
"match_all" : {}
},
"cql_query" : "status=public AND type=research_data",
"sru_sortkeys" : "",
"size" : 20
}
'
[Mon Mar 27 12:31:50 2017] # ERROR: Search::Elasticsearch::Error::Request [http://searchnode:9200]-[400] SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"from":0,"query":{"match_all":{}},"cql_query":"status=public AND type=research_data","sru_sortkeys":"","size":20}]]]; nested: SearchParseException[[librecat][0]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"from":0,"query":{"match_all":{}},"cql_query":"status=public AND type=research_data","sru_sortkeys":"","size":20}]]]; nested: SearchParseException[[librecat][1]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"from":0,"query":{"match_all":{}},"cql_query":"status=public AND type=research_data","sru_sortkeys":"","size":20}]]]; nested: SearchParseException[[librecat][2]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"from":0,"query":{"match_all":{}},"cql_query":"status=public AND type=research_data","sru_sortkeys":"","size":20}]]]; nested: SearchParseException[[librecat][3]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}},"from":0,"query":{"match_all":{}},"cql_query":"status=public AND type=research_data","sru_sortkeys":"","size":20}]]]; nested: SearchParseException[[librecat][4]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }]
# {
# "status" : 400,
# "error" : "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"from\":0,\"query\":{\"match_all\":{}},\"cql_query\":\"status=public AND type=research_data\",\"sru_sortkeys\":\"\",\"size\":20}]]]; nested: SearchParseException[[librecat][0]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"from\":0,\"query\":{\"match_all\":{}},\"cql_query\":\"status=public AND type=research_data\",\"sru_sortkeys\":\"\",\"size\":20}]]]; nested: SearchParseException[[librecat][1]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"from\":0,\"query\":{\"match_all\":{}},\"cql_query\":\"status=public AND type=research_data\",\"sru_sortkeys\":\"\",\"size\":20}]]]; nested: SearchParseException[[librecat][2]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"from\":0,\"query\":{\"match_all\":{}},\"cql_query\":\"status=public AND type=research_data\",\"sru_sortkeys\":\"\",\"size\":20}]]]; nested: SearchParseException[[librecat][3]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [Failed to parse source [{\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}},\"from\":0,\"query\":{\"match_all\":{}},\"cql_query\":\"status=public AND type=research_data\",\"sru_sortkeys\":\"\",\"size\":20}]]]; nested: SearchParseException[[librecat][4]: query[ConstantScore(*:*)],from[0],size[-1]: Parse Failure [No parser for element [cql_query]]]; }]"
# }
[Mon Mar 27 12:31:50 2017] # Request to: http://searchnode:9200
curl -XGET 'http://localhost:9200/librecat/publication/_search?pretty=1' -d '
{
"sru_sortkeys" : "",
"size" : 20,
"cql_query" : "status=public AND fulltext=1 AND type<>research_data",
"query" : {
"match_all" : {}
},
"from" : 0,
"facets" : {
"status" : {
"terms" : {
"size" : 8,
"field" : "status"
}
},
"year" : {
"terms" : {
"size" : 100,
"field" : "year",
"order" : "reverse_term"
}
},
"open_access" : {
"terms" : {
"field" : "file.open_access",
"size" : 1
}
},
"isi" : {
"terms" : {
"size" : 1,
"field" : "isi"
}
},
"pmid" : {
"terms" : {
"field" : "pmid",
"size" : 1
}
},
"type" : {
"terms" : {
"size" : 25,
"field" : "type"
}
},
"popular_science" : {
"terms" : {
"field" : "popular_science",
"size" : 1
}
},
"extern" : {
"terms" : {
"field" : "extern",
"size" : 2
}
}
}
}
'
[Mon Mar 27 12:31:50 2017] # ERROR: Search::Elasticsearch::Error::Request [http://searchnode:9200]-[400] SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"sru_sortkeys":"","size":20,"cql_query":"status=public AND fulltext=1 AND type<>research_data","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"sru_sortkeys":"","size":20,"cql_query":"status=public AND fulltext=1 AND type<>research_data","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"sru_sortkeys":"","size":20,"cql_query":"status=public AND fulltext=1 AND type<>research_data","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"sru_sortkeys":"","size":20,"cql_query":"status=public AND fulltext=1 AND type<>research_data","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"sru_sortkeys":"","size":20,"cql_query":"status=public AND fulltext=1 AND type<>research_data","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }]
# {
# "error" : "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"sru_sortkeys\":\"\",\"size\":20,\"cql_query\":\"status=public AND fulltext=1 AND type<>research_data\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"sru_sortkeys\":\"\",\"size\":20,\"cql_query\":\"status=public AND fulltext=1 AND type<>research_data\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"sru_sortkeys\":\"\",\"size\":20,\"cql_query\":\"status=public AND fulltext=1 AND type<>research_data\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"sru_sortkeys\":\"\",\"size\":20,\"cql_query\":\"status=public AND fulltext=1 AND type<>research_data\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"sru_sortkeys\":\"\",\"size\":20,\"cql_query\":\"status=public AND fulltext=1 AND type<>research_data\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [No parser for element [sru_sortkeys]]]; }]",
# "status" : 400
# }
[Mon Mar 27 12:31:50 2017] # Request to: http://searchnode:9200
curl -XGET 'http://localhost:9200/librecat/researcher/_search?pretty=1' -d '
{
"cql_query" : "",
"size" : 20,
"sru_sortkeys" : "",
"query" : {
"match_all" : {}
},
"from" : 0,
"facets" : {
"status" : {
"terms" : {
"size" : 8,
"field" : "status"
}
},
"year" : {
"terms" : {
"size" : 100,
"field" : "year",
"order" : "reverse_term"
}
},
"open_access" : {
"terms" : {
"field" : "file.open_access",
"size" : 1
}
},
"isi" : {
"terms" : {
"size" : 1,
"field" : "isi"
}
},
"pmid" : {
"terms" : {
"field" : "pmid",
"size" : 1
}
},
"type" : {
"terms" : {
"size" : 25,
"field" : "type"
}
},
"popular_science" : {
"terms" : {
"field" : "popular_science",
"size" : 1
}
},
"extern" : {
"terms" : {
"field" : "extern",
"size" : 2
}
}
}
}
'
[Mon Mar 27 12:31:51 2017] # ERROR: Search::Elasticsearch::Error::Request [http://searchnode:9200]-[400] SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"cql_query":"","size":20,"sru_sortkeys":"","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"cql_query":"","size":20,"sru_sortkeys":"","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"cql_query":"","size":20,"sru_sortkeys":"","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"cql_query":"","size":20,"sru_sortkeys":"","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"cql_query":"","size":20,"sru_sortkeys":"","query":{"match_all":{}},"from":0,"facets":{"status":{"terms":{"size":8,"field":"status"}},"year":{"terms":{"size":100,"field":"year","order":"reverse_term"}},"open_access":{"terms":{"field":"file.open_access","size":1}},"isi":{"terms":{"size":1,"field":"isi"}},"pmid":{"terms":{"field":"pmid","size":1}},"type":{"terms":{"size":25,"field":"type"}},"popular_science":{"terms":{"field":"popular_science","size":1}},"extern":{"terms":{"field":"extern","size":2}}}}]]]; nested: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }]
# {
# "status" : 400,
# "error" : "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[wpwyBBaDQ-eBBd0Gz61fgw][librecat][0]: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"cql_query\":\"\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][0]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][1]: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"cql_query\":\"\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][1]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][2]: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"cql_query\":\"\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][2]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][3]: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"cql_query\":\"\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][3]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }{[wpwyBBaDQ-eBBd0Gz61fgw][librecat][4]: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"cql_query\":\"\",\"size\":20,\"sru_sortkeys\":\"\",\"query\":{\"match_all\":{}},\"from\":0,\"facets\":{\"status\":{\"terms\":{\"size\":8,\"field\":\"status\"}},\"year\":{\"terms\":{\"size\":100,\"field\":\"year\",\"order\":\"reverse_term\"}},\"open_access\":{\"terms\":{\"field\":\"file.open_access\",\"size\":1}},\"isi\":{\"terms\":{\"size\":1,\"field\":\"isi\"}},\"pmid\":{\"terms\":{\"field\":\"pmid\",\"size\":1}},\"type\":{\"terms\":{\"size\":25,\"field\":\"type\"}},\"popular_science\":{\"terms\":{\"field\":\"popular_science\",\"size\":1}},\"extern\":{\"terms\":{\"field\":\"extern\",\"size\":2}}}}]]]; nested: SearchParseException[[librecat][4]: from[-1],size[-1]: Parse Failure [No parser for element [cql_query]]]; }]"
# }
[Mon Mar 27 12:31:51 2017] # Request to: http://searchnode:9200
curl -XPOST 'http://localhost:9200/librecat/project/_count?pretty=1'
[Mon Mar 27 12:31:51 2017] # Response: 200, Took: 6 ms
# {
# "_shards" : {
# "successful" : 5,
# "total" : 5,
# "failed" : 0
# },
# "count" : 0
# }
All you can see on the surface is that there aren't any records (publications, researchers and so on). A warning would be nice if Elasticsearch reports an error. It is possible that this is similar to the observation that some (LDAP) users can't save entries to the index. Maybe there is also a warning missing and the result is silently discarded.
First thing, this different from vanilla LibreCat since it also counts the number of researchers (see #94 and this patch).
The second thing, it's complaining about having CQL as part of the query. The simple reason is that Elastic search don't understand it, it used internally by LibreCat and translated to the native query language of every searchable backend.
The first approach is to set the Catmandu dependency to a fixed value (having == instead of >=) but that failed:
Can't merge requirements for Catmandu: '1.04' and '== 1.0306' at /usr/share/perl5/App/cpanminus/fatscript.pm line 352.
! Installing the dependencies failed: Installed version (1.0306) of Catmandu is not in range '1.04'
! Bailing out the installation for Catmandu-Store-MongoDB-0.07.
After also changing the Catmandu::Store::MongoDB version helped.
So now the cpanfilehas the following changed lines:
requires 'Catmandu', '==1.0306';
requires 'Catmandu::Store::MongoDB', '==0.0403';
With this change researchers and documents are displayed again.
Even filling this report should be considered as work in progress. This can gat a quite long issue since many log data will be posted. #137 is almost certainly related.
If one traces the queries LibreCat is doing during the creation of the frontpage it seems, that the queries got malformed:
All you can see on the surface is that there aren't any records (publications, researchers and so on). A warning would be nice if Elasticsearch reports an error. It is possible that this is similar to the observation that some (LDAP) users can't save entries to the index. Maybe there is also a warning missing and the result is silently discarded.
First thing, this different from vanilla LibreCat since it also counts the number of researchers (see #94 and this patch). The second thing, it's complaining about having CQL as part of the query. The simple reason is that Elastic search don't understand it, it used internally by LibreCat and translated to the native query language of every searchable backend.
The first approach is to set the Catmandu dependency to a fixed value (having
==
instead of>=
) but that failed:After also changing the
Catmandu::Store::MongoDB
version helped.So now the
cpanfile
has the following changed lines:With this change researchers and documents are displayed again.