fix #1536 by adding another subselect to create a temp table
fix #1536 by adding another subselect to create a temp table

owncloud/search_lucene,owncloud/search_lucene,owncloud/search_lucene,owncloud/search_lucene