English 中文(简体)
本地的Spotlight搜索指数是否可以阅读和复制?
原标题:Is it possible for a native OS X app to read and copy the Spotlight search index?

我不想以任何方式改变指数,简单地读,监测变化,复制。 它将有本土的供料/服务,这种服务将具有背景。 我“假定我为10.6+目标,但不是用石头书写。

Where is the actual index? Can I read it in any semantically useful way?

围绕这一点,我只字不提实际的Spotlight指数位置,或将APIC改为全称<>。 我确实看到了,这似乎解释了基本技术如何运作,并可能有所助益,但并没有解释如何检索整个指数或长期监测指数。

我还注意到一份称为“Houdah ,该港站为Spotlight提供经改进的前线,这也许会令人感兴趣,尽管我不知道它们如何产生效果——如果它实际上只是一个前线,把同样的搜索工具箱称作Spotlight,而不是同一个指数,那么它不会在......之后产生什么我太大的影响。

Edit: Can t 我认为,我有t读到

(I m a front-end web guy, apologies for noobishness.)

UPDATE: An OS X开发商朋友们认为,它将储存在一个隐藏的档案库中,但可以找到他所花几分钟的实际档案。 他确实找到了一张隐藏的<代码>.spotlight的目录,但这只是空洞的。

最佳回答

On Mac OS X 10.7 -- previous versions are significantly different -- the Spotlight index is stored in /.Spotlight-V100/Store-V2. The storage format is undocumented, but is definitely not SQLite.

I doubt that there s any useful way to extract data from the Spotlight index without an impractical amount of reverse engineering. Even if you did, it d be likely to break with new releases of Mac OS X.

问题回答

暂无回答




相关问题
Search field with Thickbox issue

i have a search form which is shown with Thickbox inside an iframe. the problem is.. that after i click "search" the result page is shown inside the same iframe! and i want it to be shown in the main ...

Will an incomplete google sitemap hurt my search ranking?

If I submit a sitemap.xml which does not contain all of the pages of my site, will this affect my search ranking? For example: If my sitemap only contained pages that had been created in the last ...

speeding up windows file search with C#

i made a program that search logical drives to find a specific file .if user type file name an click search button , searching begins , but i don t know how to stop searching in the middle of process....

JQuery/MVC Search Issue

I have inherited a piece of work where the entry screen shows a summary of 20 calculated variables. E.g. Var A (250), Var B (79). Clicking on any of these links takes the user to a view with a ...

Handling no results for docmd.applyfilter

I have an Access app where I use search functionality. I have a TextBox and a Search Button on the form, and it does a wildcard search of whatever the user enters in the TextBox, and displays the ...

Search by using the keyboard in a list/grid - algorithm

I need to implement a custom search in a grid and I would like to find some user interface guidelines that explain the standard way to implement it. I mean this kind of search that is initiated by ...

Embed Google/ Yahoo search into a web site or build your own

I am looking for an opinion on the whether to use Google custom search, Yahoo search builder or build my own for web projects (no more than 100 pages of content). If I should build my own - do you ...