Re: SearchKit vs. Lucene
Re: SearchKit vs. Lucene
- Subject: Re: SearchKit vs. Lucene
- From: Arjen Poutsma <email@hidden>
- Date: Sun, 23 Nov 2003 12:37:11 +0100
On 21-nov-03, at 4:12, email@hidden wrote:
Now, anybody compared SearchKit vs. Lucene? I'll be picking one of the
two within the next few weeks and will happily share my findings with
anyone who's interested. I'll be working with modest data sets but many
data formats so my issues are more around flexible analysis and ease of
use than performance.
AFAIK, Both Lucene and SearchKit are indexing engines, which means that
terms are mapped onto documents. SearchKit also offers a document
vectoring option, where documents are mapped to terms. This means that
you can search for documents based on an example document instead of a
text query.
When you create an index, you can specify the SKIndexType:
kSKIndexInverted for an inverted index, mapping terms to documents;
kSKIndexVector for a vector index, mapping documents to terms; and
kSKIndexInvertedVector for both.
I think, but I have not tested this, that you need to use either
kSKIndexVector or kSKIndexInvertedVector to use the
SKSearchResultsCreateWithDocuments function. This function
finds documents similar to given example documents.
I'm working on a simple ObjC wrapper around the SearchKit. This is my
first ObjC project, but it seems to work fine so far ;-). If there is
interest, I might share it with you.
Cheers,
Arjen
_______________________________________________
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.