The set time limit for a search has been exceeded (xlocate 1)
Posted: Mon Jul 03, 2017 3:28 pm
Hi there
These days I was asked for the meaning of the following error message:
"The set time limit for a search has been exceeded. The result list is incomplete." errorCode="-4150"
The message appears in the context of a geocoding if the search requires more time than configured. It is not a simple HTTP timeout but a module timeout of the geocoding engine.
If it appears the engine usually has found several hits but it was a long lasting task which might be interrupted by the timeout and the result list may lack some of the hits.
The threshold for the timeout is defined in the native profile:
Among other properties here are three timeouts:
If you increase the timeouts, the results might contain further hits but the response might take longer.
If you decrease the timeouts, the results might contain less hits but the response might take shorter.
It's a question of your preferences.
Best regards,
Bernd
These days I was asked for the meaning of the following error message:
"The set time limit for a search has been exceeded. The result list is incomplete." errorCode="-4150"
The message appears in the context of a geocoding if the search requires more time than configured. It is not a simple HTTP timeout but a module timeout of the geocoding engine.
If it appears the engine usually has found several hits but it was a long lasting task which might be interrupted by the timeout and the result list may lack some of the hits.
The threshold for the timeout is defined in the native profile:
Among other properties here are three timeouts:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<LocatingEngineParameters>
<SearchParameters>
[..] <Engine.CitySearchTimeout Value="7500" Type="long"/>
[..] <Engine.StreetSearchTimeout Value="7000" Type="long"/>
[..] <Engine.SuggestionSearchTimeout Value="1000" Type="long"/>
[..] </SearchParameters>
...
</LocatingEngineParameters>
If you decrease the timeouts, the results might contain less hits but the response might take shorter.
It's a question of your preferences.
Best regards,
Bernd