HI
Is it possible not to increase score if the search term appears in document more than once?
to implement similar to this ,which is implemented on db
int rank = 100;
var isMatched = false;
if (!string.IsNullOrEmpty(field1) && field1.Contains(keyword))
{
rank = 1;
isMatched = true;
}
else if (!string.IsNullOrEmpty(field2) && field2.Contains(keyword))
{
rank = 10;
isMatched = true;
}