From owner-freebsd-chat Thu Jul 11 10:51:40 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4C3E37B400; Thu, 11 Jul 2002 10:51:37 -0700 (PDT) Received: from HAL9000.wox.org (12-233-156-170.client.attbi.com [12.233.156.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AE8D43E58; Thu, 11 Jul 2002 10:51:37 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.wox.org (localhost [127.0.0.1]) by HAL9000.wox.org (8.12.3/8.12.3) with ESMTP id g6BHplGR000676; Thu, 11 Jul 2002 10:51:47 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.wox.org (8.12.3/8.12.3/Submit) id g6BHpkLi000675; Thu, 11 Jul 2002 10:51:46 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Thu, 11 Jul 2002 10:51:46 -0700 From: David Schultz To: "Jeremy C. Reed" Cc: Eric Anderson , freebsd-doc@FreeBSD.ORG, freebsd-chat@FreeBSD.ORG Subject: Re: Beta FreeBSD search engine Message-ID: <20020711175145.GA638@HAL9000.wox.org> Mail-Followup-To: "Jeremy C. Reed" , Eric Anderson , freebsd-doc@FreeBSD.ORG, freebsd-chat@FreeBSD.ORG References: <3D2D8386.5533CAE3@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thus spake Jeremy C. Reed : > > Why would you want /usr/src/* indexed? What would you be looking for? > > This reminds me of Rich Morin's Meta Project. It indexes man pages, > source, and other "metadata" that can be browsed, searched with keywords, > regular expression searches(?). But the demo seems broken at this > moment. > > http://www.cfcl.com/Meta/mdinfo.html I think a special-purpose search engine would be better suited for indexing source code. There are different considerations for how queries ought to be matched, and other important differences between C and English. For example, if I entered `mmap', the most relevant result ought to be the implementation of mmap(), not the dozens of uses of it. And of course, cross-referencing would be a boon. Then again, just about anything is better than the way I presently search /usr/src, namely recursive grep. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message