Re: SearchKit and Spotlight
Re: SearchKit and Spotlight
- Subject: Re: SearchKit and Spotlight
- From: Vince DeMarco <email@hidden>
- Date: Tue, 3 May 2005 08:45:52 -0700
On May 2, 2005, at 6:06 PM, Anton Leuski wrote:
Firstly, I'd like to apologize for posting to multiple lists, but
I'm not sure where to ask this question. If you know of a better
forum for this topic, please direct me there.
Now that Tiger is out of the bag (pun intended), I'm looking at any
info about integration of Spotlight and SearchKit. Specifically,
I'm looking at two questions:
1. I know Spotlight uses SearchKit for content-based indexing. Is
there a way to access the SearchKit index created by Spotlight
using SearchKit APIs? A quick hack of doing
SKIndexOpenWithURL((CFURLRef)[NSURL
URLWithString:@"file://.Spotlight-V100/ContentIndex.db"], nil,
(Boolean)0);
did not work...
2. Does anybody know whether the content index created by Spotlight
is kSKIndexInverted, kSKIndexVector, or kSKIndexInvertedVector? I'd
bet it's the first choice, but I'm hoping for the third one...
Thank you in advance for answering, and please cc your answer to my
email.
YOu can't access the Spotlight SearchKit index, but the question is
why do you want to?? just use the Spotlight API to do the query and
limit the query to just a text content based query
kMDItemTextContent = "blah"cwd
Vince
-- Anton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden