Re: Secondary Search not working! [message #408 is a reply to message #406] |
Thu, 28 July 2016 15:37 |
FoxTrot Engineering
Messages: 406 Registered: April 2020
|
Senior Member |
|
|
Luke Thompson wrote:
> I am having a problem that I also encountered with
> Foxtrot Personal Search, and that is that the secondary search (the
> drop-down menu that displays the actual lines of text in which the search
> terms appear, with the search terms highlighted) works for some files but
> not for others. When it doesn't work, it simply displays a hyphen (rather
> than the number of appearances in the text of the search terms), and when
> clicked on, there is no drop down menu.
Secondary-level search is very different than the main search, in that that it does not use the FoxTrot index, and it relies on a different mechanism to obtain the textual contents of the file.
FoxTrot uses Spotlight importers to extract the text used to build the index for the main searches.
Secondary-level search operates on the text displayed in the preview (using macOS's PDF, HTML or rich text viewers), and it sometimes differ from the text returned by the Spotlight importer. In this case, secondary-level search may not work at all, or may miss some occurrences of the searched words.
OCR'ed PDF files are a typical example of this, especially because of encoding problems. If you can't select and copy text from a PDF document when you open it using Apple's Preview.app (or if you get garbled text when you do), then secondary-level search won't work as expected in FoxTrot. This is what happens for your sample file.
You can option-click a found document in the search result list, to display it's textual content as it has been indexed, instead of rendering the document. Then secondary-level search should work in this plain text view.
Jérôme - CTM Engineering
------------------------------------------------------------ ---------
"I'd been using Entourage X ever since switching to Macs 2 years ago
and was growing frustrated with its slow searches and increasing
instability as my database grew. Decided to look for an alternative
and tried Mail, MailSmith, Thunderbird and PowerMail. Settled on
PowerMail and am extremely happy with this application."
PowerMail user comment on www.versiontracker.com
Download a demo version from www.ctmdev.com
------------------------------------------------------------ ---------
Jérôme - FoxTrot Engineering
|
|
|