From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,ab891c11f4a63c2b,start X-Google-Attributes: gid10d4db,public From: dfly@infinet.com (Sergei Viznyuk) Subject: wwwdrag v1.0 - Web Search Engine released Date: 1997/01/04 Message-ID: X-Deja-AN: 207603275 x-original-date: 19 Dec 1996 09:20:42 -0500 followup-to: comp.os.linux.networking organization: BH Peripherals x-auth: PGPMoose V1.1 PGP comp.os.linux.announce newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- I appended more detailed description under lsm entry below. - -------------------------------------------------------- Begin3 Title: wwwdrag Intergrated Web Search Engine Version: 1.0 Entered-date: December 13, 1996 Description: wwwdrag v1.0 is Web search engine built around postgres95 database. wwwdrag v.1.0 is scanning all Web html documents on its way for a given search_string and stores the findings in postgres95 database. The pre-built postgres95 v.1.09 database comes with The Product. For complete description and installation instructions see README file. Keywords: postgres, database, www, web, search, linux Author: Sergei Viznyuk Maintained-by: Sergei Viznyuk Primary-site: sunsite.unc.edu /pub/Linux/Incoming 2386 kB wwwdrag-1.0.tgz 1 kb wwwdrag-1.0.lsm Platform: linux 2.1.13 Copying-policy: Freeware End ************************************************************************ ** This is ** ** wwwdrag v.1.0 ** ** Integrated Web Search Engine (boom!) ** ************************************************************************ ** Copyright (C) Sergei Viznyuk & BH Peripherals, ** ** Friday, December 13, 1996 ** ** All Rights Reserved ** ** Permission is granted hereby to [mis]use the wwwdrag for any ** ** intent and purpose. In no way the wwwdrag is proclaimed to be ** ** suitable for any use. In no way the author and BH Peripherals are ** ** responsible for any damage sustained as result of intentional or ** ** unintentional [mis]use of wwwdrag. ** ************************************************************************ CONTENTS 1. Short description of The Product 2. Installation 3. Usage 4. Bugs/features 1. SHORT DESCRIPTION wwwdrag v1.0 is blazingly fast Web search engine built around dog slow postgres95 database (where, where is Oracle for Linux ??). wwwdrag v.1.0 is scanning Web html documents for a given search_string and stores the findings in postgres95 database. Due to the limitations of postgres95, this release does not store the whole documents but only their urls and titles. Specifically, it stores the urls and titles of all documents visited plus it stores the count of how many times the search_string was found in the given document. The pre-built postgres95 database comes with The Product. The results of the search(es) are stored in the following tables: url contains url_id, port, hostname, and full path url_title contains url_id and title search_counts contains url_id, string_id, count, etime where count is the count of how many times search string with string_id was found in url with url_id, and etime is abstime in seconds when this url was visited last time search_strings contains string_id and string to search for. Poking around database with psql monitor which comes with postgres can be an excellent way to start learning SQL. [ Installation and usage removed by moderator. --liw ] 4. BUGS OR RATHER FEATURES 1) wwwdrag does not care about case/spaces/tabs/newlines in search strings: search strings "Linux" "linux" "L I N U X" are all the same for wwwdrag 2) expect your hard drive to scream when you do a search, especially if you're directly connected to Internet. This is because postgres flushes buffers after every transaction, and the sucker does not cache the queries. 3) wwwdrag will skip all documents with "jpg" "gif" "map" "jpeg" "gz" "tar" extensions. 4) this release supports http protocol only. Urls with gopher:// ftp:// mailto: or news: will be skipped. 5) postgres95 has a limit of 8192 bytes for query buffer, hence it's not a good idea to store whole html documents in postgres tables. 6) postgres95 does not support bind variables in a query; postgres95 does not support composite indices; postgres95 does not cache queries; - ---------------------------------------- Please send your comments & questions to Sergei Viznyuk -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQCVAwUBMs3S3IQRll5MupLRAQH53QP9HwPC0amNslAiiSL7lMw3G/TkNPaiwW7f stMEchSnveK1Keg03C8+sPjHue0mtyhFoZEySJBjAY0+z3R4JyVc60rfF9IlVu9z /lDBSwQogFNGyFjQHy/wN0BAMuqbVMv0xDvWM9INhp1c4BDB+xrBLlpRrFY44oXL Bq40EuF5J6M= =sUvM -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html