Re: [GENERAL] I want to search my project source code

2007-10-29 Thread Alvaro Herrera
Tom Lane wrote: > I wouldn't recommend trying to use a standard FTS to index code: > code is not a natural language and the kinds of searches you usually > want to perform are a lot different. As an example, I glimpse for > "foo" when looking for references to a function foo, but "^foo" > when se

Re: [GENERAL] I want to search my project source code

2007-10-28 Thread Perry Smith
h" <[EMAIL PROTECTED]> To: "Guy Rouillier" <[EMAIL PROTECTED]> Cc: Sent: Sunday, October 28, 2007 10:25 AM Subject: Re: [GENERAL] I want to search my project source code On Oct 28, 2007, at 12:59 AM, Guy Rouillier wrote: Matthew Wilson wrote: I have a lot of co

Re: [GENERAL] I want to search my project source code

2007-10-28 Thread Martin Gainty
Perry- Does cscope support PHP? Thanks for the link M-- - Original Message - From: "Perry Smith" <[EMAIL PROTECTED]> To: "Guy Rouillier" <[EMAIL PROTECTED]> Cc: Sent: Sunday, October 28, 2007 10:25 AM Subject: Re: [GENERAL] I want to search my project

Re: [GENERAL] I want to search my project source code

2007-10-28 Thread Perry Smith
On Oct 28, 2007, at 12:59 AM, Guy Rouillier wrote: Matthew Wilson wrote: I have a lot of code -- millions of lines at this point, written over the last 5 years. Everything is in a bunch of nested folders. At least once a week, I want to find some code that uses a few modules, so I have to la

Re: [GENERAL] I want to search my project source code

2007-10-27 Thread Guy Rouillier
Matthew Wilson wrote: I have a lot of code -- millions of lines at this point, written over the last 5 years. Everything is in a bunch of nested folders. At least once a week, I want to find some code that uses a few modules, so I have to launch a find + grep at the top of the tree and then wai

Re: [GENERAL] I want to search my project source code

2007-10-27 Thread Oleg Bartunov
openfts.sf.net is tool for you. It has even example scripts for indexing/searching file system. Oleg On Sat, 27 Oct 2007, Matthew Wilson wrote: I have a lot of code -- millions of lines at this point, written over the last 5 years. Everything is in a bunch of nested folders. At least once a

Re: [GENERAL] I want to search my project source code

2007-10-27 Thread Tom Lane
Matthew Wilson <[EMAIL PROTECTED]> writes: > At least once a week, I want to find some code that uses a few modules, > so I have to launch a find + grep at the top of the tree and then wait > for it to finish. Personally I use glimpse for this. It's a bit old and creaky but it performs wonders.

[GENERAL] I want to search my project source code

2007-10-27 Thread Matthew Wilson
I have a lot of code -- millions of lines at this point, written over the last 5 years. Everything is in a bunch of nested folders. At least once a week, I want to find some code that uses a few modules, so I have to launch a find + grep at the top of the tree and then wait for it to finish. I w