-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
For searches that are geosorted, the "sort" field in the response is not serialized into Hit and so the actual distance of the Hit cannot be retrieved.
Update: Dec 6, 2012 - The 0.9.10.0 implements
[JsonProperty(PropertyName = "sort")]
public IEnumerable Sorts { get; internal set; }
in Hit. This causes serialization exceptions when sort is set to a text field (because it can't be serialized into the float). So, geosorts will now return the actual distance, but all text sorts will throw an exception. Probably this should be implemented as:
[JsonProperty(PropertyName = "sort")]
public IEnumerable Sorts { get; internal set; }
Metadata
Metadata
Assignees
Labels
No labels