As a quick sideline to the discussion on FunctionQueries (which is way
beyond me): would it not be useful for a FunctionQuery to be able to exclude
hits (using that term loosely) as well as to affect their score? Can/should
the current framework do that?
I ask because I want to exclude hits on the basis of their availability,
where 'availability' is to do with user permissions and in general can only
be determined at query time. I tried writing a Filter to do the same job,
but couldn't find a general way to avoid having the availability criterion
assessed over all documents in the index - and it's prohibitively expensive
to evaluate.
Jon