Sponsored Content
Full Discussion: About search engine in unix
Homework and Emergencies Homework & Coursework Questions About search engine in unix Post 302700865 by Skrynesaver on Friday 14th of September 2012 10:18:29 AM
Old 09-14-2012
Well, you'll need
A spider to traverse the web
A way of extracting the text of a link and the url it points to
A way of ranking the value of pages for any keyword, perhaps occurrences of the keyword in links to the url as well as occurences within the page?
A database to store your keywords and urls.


That would give you a basic platform - now all you have to do is research the above and design the ranking algorithm.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Search Engine

How do you write a search engline to search offline scripts? (3 Replies)
Discussion started by: hawaiifiver
3 Replies

2. Programming

Search Engine in C

Hello everybody, I need help with this, I need to design a CGI search engine in C but i have no idea on what or how to do it. Do i have to open all the html files one by one and search for the given strings? i think this process will be slow, and will take too much of the server processing... (11 Replies)
Discussion started by: semash!
11 Replies

3. Web Development

Search Engine

Hey guys. I have a quick question. My friends and I are working on a search engine project that will hopefully be up and running by December of 2011. Here's my concern. What programs should I use to create the search engine. Thanks guys! :b: (9 Replies)
Discussion started by: OussenkoSearch
9 Replies

4. What is on Your Mind?

Patching Google Search engine/application in Unix.

Hi Unix Gurus, In my Co. we have intranet site hosted on Unix box. In Explorer there is a text box for searching information on internet. By default it is using Google Custom Search. This search engine is little old one. Now I want to patch this search engine with latest patch. If any one know... (0 Replies)
Discussion started by: sriramis4u
0 Replies

5. Shell Programming and Scripting

About search engine in unix

Hello, How to create a search engine in unix using commands?...Atleast guidelines to craete this search engine...Thank you in advance. (10 Replies)
Discussion started by: Sindhu R
10 Replies

6. What is on Your Mind?

YouTube: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search

Getting a bit more comfortable making quick YT videos in 4K, here is: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search Console https://youtu.be/I6b9T2qcqFo (0 Replies)
Discussion started by: Neo
0 Replies
WWW::SearchResult(3pm)					User Contributed Perl Documentation				    WWW::SearchResult(3pm)

NAME
WWW::SearchResult - class for results returned from WWW::Search SYNOPSIS
require WWW::Search; require WWW::SearchResult; $search = new WWW::Search; $search->native_query(WWW::Search::escape_query($query)); # Get first result: $result = $search->next_result(); DESCRIPTION
A framework for returning the results of "WWW::Search". SEE ALSO
WWW::Search REQUIRED RESULTS
The particular fields returned in a result are backend- (search engine-) dependent. However, all search engines are required to return a url and title. (This list may grow in the future.) METHODS AND FUNCTIONS
new To create a new WWW::SearchResult, call $result = new WWW::SearchResult(); url Returns the primary URL. Note that there may be a list of urls, see also methods "urls" and "add_url". Nothing special is guaranteed about the primary URL other than that it is the first one returned by the back end. Every result is required to have at least one URL. add_url Add a URL to the list. urls Return a reference to the list of urls. There is also a primary URL ("url"). add_related_url Add a URL to the related_url list. related_urls Return a reference to the list of related urls. add_related_title Add a title to the list or related titles. related_titles Return a reference to the list of related titles. title, description, score, change_date, index_date, size, raw Set or get attributes of the result. None of these attributes is guaranteed to be provided by a given backend. If an attribute is not provided its method will return "undef". Typical contents of these attributes: title The title of the hit result (typically that provided by the 'TITLE' HTML tag). description A brief description of the result, as provided (or not) by the search engine. Often the first few sentences of the document. source Source is either the base url for this result (as listed on the search engine's results page) or another copy of the full url path of the result. It might also indicate the source site name or address whence the result came, for example, 'CNN' or 'http://www.cnn.com' if the search result page said "found at CNN.com". This value is backend-specific; in fact very few backends set this value. add_sources Same meaning as source above, for adding sources in case there are potentially multiple sources. sources Returns a reference to the list of sources. score A backend specific, numeric score of the search result. The exact range of scores is search-engine specific. Usually larger scores are better, but this is no longer required. See normalized_score for a backend independent score. normalized_score This is intended to be a backend-independent score of the search result. The range of this score is between 0 and 1000. Higher values indicate better quality results. This is not really implemented since no one has created an backend-independent ranking algorithm. change_date When the result was last changed. Typically this is the modification time of the destination web page. index_date When the search engine indexed the result. size The approximate size of the result, in bytes. This is only an approximation because search backends often report the size as "18.4K"; the best we can do with that number is return it as the value of 18.4 * 1024. raw The raw HTML for the entire result. Raw should be exactly the raw HTML for one entry. It should not include list or table setup commands (like ul or table tags), but it may include list item or table data commands (like li, tr, or td). Whether raw contains a list entry, table row, br-separated lines, or plain text is search-engine dependent. In fact, many backends do not even return it at all. as_HTML Convert the search result to a human-readable form, decorated with HTML for pretty-printing. Others More attributes of the result. Backend-specific. Refer to the documentation of each backend for details. bid_amount bid_count bidder category company end_date image_url item_number location question_count seller shipping sold start_date thumb_url watcher_count AUTHOR
WWW::SearchResult was written by John Heidemann. WWW::SearchResult is maintained by Martin Thurn. perl v5.12.4 2011-10-25 WWW::SearchResult(3pm)
All times are GMT -4. The time now is 11:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy