Prepare for 2.4

This commit is contained in:
Victor Shcherb 2016-07-25 09:00:32 +02:00
parent 54d3a1fe07
commit 49ef49a919

View file

@ -92,8 +92,9 @@ public class SearchCoreFactory {
throws IOException {
phrase.countUnknownWordsMatch(res);
int cnt = resultMatcher.getCount();
if(!phrase.getUnknownSearchWords().isEmpty() && api != null) {
SearchPhrase nphrase = phrase.selectWord(res, phrase.getUnknownSearchWords(res.otherWordsMatch),
List<String> ws = phrase.getUnknownSearchWords(res.otherWordsMatch);
if(!ws.isEmpty() && api != null) {
SearchPhrase nphrase = phrase.selectWord(res, ws,
phrase.isLastUnknownSearchWordComplete());
SearchResult prev = resultMatcher.setParentSearchResult(res);
res.parentSearchResult = prev;