Try our conversational search powered by Generative AI!

Unified search - Searching for news return hits on openinghours

Vote:
 

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

#186418
Dec 19, 2017 14:26
Vote:
 

Do you have the word nyhet somewhere in the text?

If you set highlightning on, what words does it highlight?

#186421
Dec 19, 2017 14:35
Vote:
 

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.

#186422
Edited, Dec 19, 2017 14:47
Vote:
 

Synonyms or best bets enabled when searching?

#186464
Dec 20, 2017 10:23
Vote:
 

No, that was what I was thinking about at first. I have removed that.

#186466
Dec 20, 2017 11:35
Vote:
 

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()?

#186487
Edited, Dec 20, 2017 15:16
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.