Do you have the word nyhet somewhere in the text?
If you set highlightning on, what words does it highlight?
I have highlighting set already. It highlights the words I wrote in my first post. I can't see any relevant content in the pages or any relevance between the word news and the highlighted words.
And all the unrelevant hits appear at the top of the hitlist.
I have done some testing and the result is this:
If searching for nyhet using this code I get an incorrect result:
var query = SearchClient.Instance.UnifiedSearch(lang).For(q).UsingUnifiedWeights().WithAndAsDefaultOperator();
if (!q.Contains('"'))
{
query = query.UsingSynonyms();
}
If I comment out this code(not using synonyms if using frases) the result is correct.
//if (!q.Contains('"'))
//{
// query = query.UsingSynonyms();
//}
The strange thing is that I have no synonyms added. Is this a bug when using UsingSynonyms()?
Hi,
I'm implementing unified search and in testing we search for news and it returns hits on openinghours or time related words.
This is in norwegian, so searching for nyhet(news) returns hits like åpningstider(opening hours), tidsbegrensninger(timelimits), tidsrommet(time interval) and so on.
Is this a bug or does it have a logical explanation?
/Frode