Added createWeight method to the HashQParserPlugin and made tests randomly switch between PostFilter and regular filter.