-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include search results from trusted sites #91
Comments
@AdiChat I would like to work on this. |
Sure @Shweta4321 Go for it 👍 Keep us updated on your progress. |
@AdiChat Please review the Pull Request |
@AdiChat In my opinion, we need to implement this with Ajax and lazy loading tech or we could code with client side (i.e., use JS), because:
|
Yes, this will be nice. 👍 It will reduce the load on the server and serve the initial results faster and thus, improving the user experience. 👍 |
I'm submitting a:
Description:
Include results from other trusted sites for a search term in addition to our current results.
To begin with, we may consider the following trusted sites:
To fetch results, we may use create a crawler to crawl trusted sites or scrape the data from a search engine.
You may fetch a few of the top results from a search engine like Google. For a specific site, use search terms like
linear search site:wikipedia.org
. The number of results should vary for various sites. For instance, we can provide 1 Wikipedia result, 2 Tutorialspoint result and 4 StackOverflow results. This approach will have limitations so, we can cache results to avoid unnecessary scraping.The ideal cached results may include the url and the metadata to enable further searches. Implementing this will include a scraping code to present results to users during searching.
Caching can be taken care of in a separate feature. For caching, a separate script can be used to collect results for a set of keywords and store it in a database. Additionally, searching should include our cached results as well.
This feature will make Cosmos-Search more usable in general and help us provide a complete learning experience. 👍
The text was updated successfully, but these errors were encountered: