Hi, I've just discovered xapian last week (looks great) and I was wandering whether I could use it to write a source code browsing tool. - I'm looking to implement a source browsing tool (like cscope) for an internal language we have at work. - I'd like to parse the source files and store them into a xapian database and then use queries to retrieve information such as: - Function declarations. - Function documentation. - Function references. - Auto-complete options. - Parameter options. - And so on... I'm looking for any information on whether xapian is suited for this task and what problems might come up if I implement the tool using xapian. Any information would be greatly appreciated, Eyal.
On Sun, Jan 14, 2007 at 06:27:38PM +0200, Eyal Raab wrote:> I'm looking for any information on whether xapian is suited for this task > and what problems might come up if I implement the tool using xapian.I'd say Xapian is suitable for the job. I can't see any major obstacles. You'll need to work out how to map everything onto terms and/or values to allow you to support the sorts of searches you want, which sometimes needs some thought. But if you have problems, feel free to ask on the lists. Cheers, Olly