Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Boosting configuration to specific type

Vote:
 

Hi,

Is it possible to configurate permanent weights to properties from different types?

We need different weights to different types. Will they be uses with unified search?

I saw a lot of examples from documentation where weights add directly to search request.

For example:

searchResult = client.Search()
  .For("Banana")
  .BoostMatching(x => x.BlogCategory.Match("fruit"), 2)                
  .GetResult();
var weights = new UnifiedWeightsValues() 
    { 
        SearchTitle = 2.0, 
        SearchText = 1.5, 
        SearchSummary = 1.0, 
        SearchAttachment = 0.5 
    };
 
var result = client.UnifiedSearch(Language.English).For("Beethoven").UsingUnifiedWeights(weights).GetResult();



#141265
Nov 10, 2015 15:15
* 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.