FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Highlighting text, adding notes to PDFs in the FoxTrot preview (Feature suggestion)
Re: Highlighting text, adding notes to PDFs in the FoxTrot preview [message #1442 is a reply to message #1439] Wed, 11 May 2022 14:59 Go to previous message
FoxTrot Engineering
Messages: 384
Registered: April 2020
Senior Member
You pretty precisely describe how excerpts are currently implemented: FoxTrot chooses the excerpt of 21 consecutive words that have the highest weight; rare words (relative to the whole index, not to the document) having more weight than frequent words.

Thus typically, if wordone is far less common than wordtwo, the excerpt should contain at least one occurrence of wordone. Except maybe if an excerpt can be found with 3 or more occurrences of wordtwo, but none of wordone.

However, maybe your column layout is not wide enough to display the excerpt entirely, and you only see its beginning which does not necessarily contain wordone?

We could maybe add a preference to change the length (number of words) of excerpts, or compute an arbitrary length based on the width of the excerpt column, instead of always showing excerpts of 21 words (but this wont guaranty that the excerpt won't be truncated).


Jérôme - FoxTrot Engineering
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to match single wild character in Foxtrot Query?
Next Topic: Rtfd file type
Goto Forum:
  


Current Time: Mon May 06 03:30:54 GMT+2 2024