As i used your example for SCOREd query with WEIGHT then , it is not giving any response to me
My JSON data
[
{
"id":"1",
"project":"title",
"message":"test"
},
{
"id":"2",
"project":"test",
"reviewinstruction":"this is test"
}
{
"id":"3",
"project":"my project",
"reviewinstruction":"review"
},
{
"id":"4",
"project":"title",
"message":"test your are the best way"
},
];
weight AND queries
QUERY({
SEARCH: [ 'test' ]
}, {
SCORE: {
WEIGHT: {
'reviewinstruction': 2 // reviewinstruction is field
}
}
})
Am i missing something in SCOREd query with WEIGHT ?
As i used your example for SCOREd query with WEIGHT then , it is not giving any response to me
My JSON data [ { "id":"1", "project":"title", "message":"test" }, { "id":"2", "project":"test", "reviewinstruction":"this is test" } { "id":"3", "project":"my project", "reviewinstruction":"review" }, { "id":"4", "project":"title", "message":"test your are the best way" }, ];
weight AND queries
QUERY({ SEARCH: [ 'test' ] }, { SCORE: { WEIGHT: { 'reviewinstruction': 2 // reviewinstruction is field } } })
Am i missing something in SCOREd query with WEIGHT ?