Automatic Query Performance Assessment during the Retrieval of Software Artifacts