DS-1878 make search URL recognize Lucene/Discovery in mobile theme