Skip to content
Snippets Groups Projects
Commit 3941756f authored by Henrik Askjer's avatar Henrik Askjer
Browse files

cleanup

parent f3f0ea6c
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,6 @@ function load_articles(self, query, offset, n, dict) {
if (n > 0) {
article_IDs = article_IDs.slice(offset, n)
console.log("ARTICLES", dict,article_IDs)
return Promise.all(article_IDs.map((article_id) => {
return axios.get(`${ARTICLE_ENDPOINT}${dict}/article/${article_id}.json`)
......@@ -285,7 +284,6 @@ export default {
if (this.search_results.nn) {
return this.search_results.nn.length
}
console.log("TOTAL", total)
return total
}
......
......@@ -46,15 +46,12 @@ export default {
return ''
},
bm_hash: function(){
console.log("HASH_B;")
return this.results_bm.reduce((hash, hit) => (hash + hit.article_id) % 10000, 0)
},
nn_hash: function(){
console.log("HASH_NN")
return this.results_nn.reduce((hash, hit) => (hash + hit.article_id) % 10000, 0)
},
count_bm: function(){
console.log(this.meta)
return this.meta["bm"]["total"]
},
count_nn: function(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment