Objective: Privacy of user information in web search applications is traded off with quality of search results generated for a query by web search engine. In this article, we have developed a novel model utilizing Homomorphic Encryption for privacy protection of the user without compromising the quality of search results and response time. Methods: Response time is calculated using the GreedyDP and GreedyIL techniques, which is critical since encryption is usually followed by complicated calculations. Using the Homomorphic Encryption (HE) technique the user request is encrypted, rendering it unreadable or interpretable by eavesdroppers. Although the server will be unable to decode the requests, it will be possible to process those using algorithms and computations. The suggested model was utilized to evaluate the reaction time performance of four distinct current HE techniques. Findings: From the proposed model, it is inferred that, the performance of Gentry HE is superior to others since it takes 6% less time than its nearest competitor Paillier. Implementations show that the developed model, query encryption, does not create response delays and so supports the framework. Novelty: This research proposes a new PWS model with HE to increase data security and privacy in online search applications. The suggested study uses the GreedyDP and GreedyIL new methodologies.