Wouldn’t such approach search the whole documents? Which would take very long time to get the results?