Search now much faster on larger number of documents
Search now much faster on larger number of documents

I made this change last night and need it today for work so checking it
in

zubairq/AppShare,zubairq/gosharedata,zubairq/AppShare,zubairq/AppShare,zubairq/gosharedata,zubairq/yazz,zubairq/yazz,zubairq/AppShare