Fix #3020
This commit is contained in:
parent
30786794b5
commit
ec3903fc62
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ public class SearchCoreFactory {
|
||||||
|
|
||||||
private void searchByName(final SearchPhrase phrase, final SearchResultMatcher resultMatcher)
|
private void searchByName(final SearchPhrase phrase, final SearchResultMatcher resultMatcher)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
if(phrase.getRadiusLevel() > 1 || phrase.getUnknownSearchWordLength() > 3) {
|
if(phrase.getRadiusLevel() > 1 || phrase.getUnknownSearchWordLength() > 3 || phrase.getUnknownSearchWords().size() > 0) {
|
||||||
final boolean locSpecified = phrase.getLastTokenLocation() != null;
|
final boolean locSpecified = phrase.getLastTokenLocation() != null;
|
||||||
LatLon loc = phrase.getLastTokenLocation();
|
LatLon loc = phrase.getLastTokenLocation();
|
||||||
final List<SearchResult> immediateResults = new ArrayList<>();
|
final List<SearchResult> immediateResults = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in a new issue