The fix for #711394: Search Lucene displays every item ignores search keyword added logic that detects when terms were passed by the user but none met the minimum length requirement set in the Search Lucene API administrative page. As illustrated in the issue #718834: white page when used with luceneapi 6.x.2.1, the fix has the side effect of throwing fatal errors when an empty string is passed as the search keys to this function. Although an empty search should get detected before this function is called, defensive coding should be added to handle empty strings gracefully.

Comments

cpliakas’s picture

Category: task » bug
Priority: Normal » Critical

Bumping to a bug report since this is effecting people's installations.

cpliakas’s picture

The patch from #724074: PHP error on search will be applied as part of this fix.

cpliakas’s picture

Status: Active » Fixed

Completed in commit #334096.

Status: Fixed » Closed (fixed)
Issue tags: -6.x-2.2

Automatically closed -- issue fixed for 2 weeks with no activity.