Fix Lucene Optional (again) !

The recent filter bar in home view was coded without taking
into account the fact that LUCENE is an optional build component.

This caused builds to fail when LUCENE wasn't installed.