: I am using a function query that based on the query of the user gives a
: score for the results I am presenting.

please be specific -- it's not at all clear what the structure of your 
query is, and the details matter.

: Some of the results are receiving score=0 in my function and I would like
: them not to appear in the search results.

this sounds expected given how functions work: by definition they match 
all documents, even if one of the inputs to the function is a query that 
only matches some documents.

you either need to use that query as a filter to constrain the set of 
documents returned, or you need to restructure your main query using 
something like the {!boost} parser (which only matches documents from it's 
nested query).

if you give us an actual example of what you are doing, we can give you 
suggestions on how to change it to achieve what you want.

-Hoss

Reply via email to