Skip to content

Support for _score in PercolateMany #1570

@joehmchan

Description

@joehmchan

PercolateMany has TrackScores() method for tracking scores, but in PercolateResponse.cs, PercolatorMatch class doesn't have Score field.

Should it look like this?

public class PercolatorMatch
{
    [JsonProperty(PropertyName = "_index")]
    public string Index { get; set; }
    [JsonProperty(PropertyName = "_id")]
    public string Id { get; set; }
    [JsonProperty(PropertyName = "highlight")]
    public Dictionary<string, IList<string>> Highlight { get; set; }
    [JsonProperty(PropertyName = "_score")]
    public double? Score { get; set; }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions