Hi Michal,
The best way to do this would be to put a
LatLonPoint#newDistanceFeatureQuery in a SHOULD clause. It's not as
flexible as leveraging expressions, but it has the benefit of not
disabling dynamic pruning.
On Mon, Feb 6, 2023 at 10:33 AM Michal Hlavac wrote:
>
> Hi,
> I would like to inf
Hi,
I would like to influence the score using geographical distance. More distant
documents lower the score.
I have sort field:
SortField geoSort = LatLonDocValuesField.newDistanceSort("location",
pos.getLatitude(), pos.getLongitude());
Then I tried add this sort field to SimpleBindings. I've fo