Skip to content

Commit

Permalink
Adjust search weights to put class and namespace at the top
Browse files Browse the repository at this point in the history
  • Loading branch information
danakj committed Dec 25, 2023
1 parent 08281be commit b6e1a37
Show file tree
Hide file tree
Showing 48 changed files with 70 additions and 62 deletions.
2 changes: 1 addition & 1 deletion subdoc/gen_tests/function-overloads/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/function-overloads/n-fn.multiple.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/function-overloads/n-fn.multiple.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/function-overloads/namespace.n.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/markdown/N.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/markdown/S.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/markdown/Syntax.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/markdown/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/nested-namespace/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/struct-basic/S.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/struct-basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/struct-complex/Base.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/struct-complex/OtherType.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/struct-complex/S.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/struct-complex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/Concept.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/S.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/TemplateMethods.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/TemplateStruct.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/fn.requires_overload.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/fn.return_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/fn.template_function.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/typenames-across-paths/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/typenames-across-paths/n-HoldS.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/typenames-across-paths/n-fn.pass_s.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/typenames-across-paths/n-fn.return_s.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
2 changes: 1 addition & 1 deletion subdoc/gen_tests/typenames-across-paths/namespace.n.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

search_db.forEach(item => {
this.add(item, {
'boost': item.weight
'boost': item.weight ? Number(item.weight) : 1
})
}, this);
});
Expand Down

0 comments on commit b6e1a37

Please sign in to comment.