Facet Objects

Facet

This object refers to how Facet defined in Hawksearch for your account will be returned to or fed to the Hawksearch API.

 

public class FacetModel { public Guid SyncGuid { get; set; } public int FacetId { get; set; } public string Name { get; set; } public string FacetType { get; set; } public string FieldType { get; set; } public int MaxCount { get; set; } public int MinHitCount { get; set; } public string Field { get; set; } public int FieldId { get; set; } public string Param { get; set; } public string DisplayType { get; set; } public int ScrollHeight { get; set; } public int ScrollThreshold { get; set; } public int TruncateThreshold { get; set; } public int SearchThreshold { get; set; } public int SortOrder { get; set; } public bool ExpandSelection { get; set; } public bool IsCurrency { get; set; } public bool IsNumeric { get; set; } public bool IsSearch { get; set; } public bool IsVisible { get; set; } public string UBound { get; set; } public string LBound { get; set; } public string Increment { get; set; } public int NofVisible { get; set; } public int Height { get; set; } public string DisplayRuleXML { get; set; } public string SortBy { get; set; } public int ParentId { get; set; } public bool IsCollapsible { get; set; } public bool IsCollapsedDefault { get; set; } public string SwatchData { get; set; } public int FacetRangeDisplayType { get; set; } public bool PreloadChildren { get; set; } public string Tooltip { get; set; } public bool ShowSliderInputs { get; set; } public bool ShowFacetImageCount { get; set; } public IEnumerable<FacetRangeModel> FacetRanges { get; set; } public string Tags { get; set; } //V4 public DateTime CreateDate { get; set; } //V8 public DateTime ModifyDate { get; set; } //V8 public FacetBoostBury BoostBury { get; set; } //V8 public string ListName { get; set; } //V8 public int NumericPrecision { get; set; } //V8 public string CurrencySymbol { get; set; } public string DefaultItemType { get; set; } //V10 }


Facet Boost Bury

public class FacetBoostBury { public list <FacetValueOrderInfo> BoostValues { get; set; } public list <FacetValueOrderInfo> BuryValues { get; set; } }

 

Facet Range

This object refers to how FacetRange defined in Hawksearch for your account will be returned to or fed to the Hawksearch API.

public class FacetRangeModel { public int RangeId { get; set; } public string Name { get; set; } public string LBound { get; set; } public string UBound { get; set; } public int SortOrder { get; set; } public string AssetName { get; set; } public string AssetUrl { get; set; } }

 

Facet Value Order Info