Re: Complete Cocoa API Reference posted to Apple Developer Site
Re: Complete Cocoa API Reference posted to Apple Developer Site
- Subject: Re: Complete Cocoa API Reference posted to Apple Developer Site
- From: Andy Lee <email@hidden>
- Date: Fri, 8 Mar 2002 11:18:46 -0500
At 3:35 PM +0100 3/8/02, Ondra Cada wrote:
>
...whether there is a public API to
>
>
(i) use these indexes from one's own application;
MTLibrarian uses Lucene:
http://jakarta.apache.org/lucene/docs/index.html
Jakarta Lucene is a high-performance, full-featured text
search engine written entirely in Java. It is a technology
suitable for nearly any application that requires full-text
search, especially cross-platform.
>
(ii) index my own documents so as they can be searched the same way?
I recommend MTLibrarian if you haven't tried it. It's a document indexer/searcher/viewer modeled on NextStep's Digital Librarian. It's available at <
http://www.montagetech.com/>. I have Cocoa docs indexed in MTLibrarian, and I easily use it a million (maybe two million) times a day. I much prefer it to Sherlock, though I wish it could be as snappy as WinHelp is over on the Dark Side.
The main performance issue in most doc browsers I've seen on OS X seems to be not the search but the HTML rendering, so maybe some sort of precompiled HTML would speed things up. I believe there are tools for converting HTML to WinHelp, so the idea is hardly original. This could be combined with an approach like the excellent Cocoa Browser <
http://www.sra.co.jp/people/hoshi/macosx/cocoa-browser.html>, which by the nature of its Smalltalk-like hierarchical design only has to display small chunks of HTML at a time. Besides the speed, I find this actually enhances the readability of long class docs like the one for NSView. Cocoa Browser does not have an indexing and search capability, though (at least currently, at version 0.2).
(Note to self: study the source for Cocoa Browser; it's probably good stuff.)
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.