FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » How to Index Files in Distinct Directory Paths Under a Single Index?
How to Index Files in Distinct Directory Paths Under a Single Index? [message #1837] Thu, 22 August 2024 19:07 Go to previous message
foxtrotter
Messages: 12
Registered: July 2024
Junior Member
Hi,

Making this thread to ask for advice on how to best handle the following situation in Foxtrot. Please pardon me if this has been covered elsewhere.

Suppose I have files (.pdf, .docx) pertaining to a subject, say, "Linear Algebra", and they are are located at TWO distinct directory paths. My goal is to make all of these files searchable in Foxtrot, preferably under a single index.

The first location is easy to add to a Foxtrot index because all documents are housed in the same directory path, for example:

/path/to/lin_alg/lecture1.pdf
/path/to/lin_alg/lecture2.pdf
/path/to/lin_alg/lecture3.pdf
/path/to/lin_alg/tutorial1.pdf

(Currently, I am only indexing this first location. It would be nice if the relevant files in the second location, which I share about next, could be added to this index)

The second location is more challenging. The relevant documents are housed in separate child paths. Additionally, there are documents UNrelated to "Linear Algebra" in neighboring paths. To illustrate what I mean, the paths look something like these:

/path/to/bookshelf/Kevin-H/linear_algebra_book1.pdf
/path/to/bookshelf/Sheldon-A/linear_algebra_book2.pdf
/path/to/bookshelf/Sergei-W/linear_algebra_book3.pdf
/path/to/bookshelf/John-B/self_love_book.pdf
/path/to/bookshelf/Vivian-K/cooking_western_cuisine_book.pdf
/path/to/bookshelf/Eugene-P/probability_theory_book.pdf
[… so on and so forth …]

To clarify, the last three documents (self_love_book.pdf, cooking_western_cuisine_book.pdf, probability_theory_book.pdf) are not related to the subject "Linear Algebra", and as such, should be excluded from indexing.

If anyone is curious as to the complicated structuring of the second location, the reason is that it is automatically generated by the open-source digital book management app called "Calibre", which I'd like to think is quite widely used to manage digital books.

If you're reading this, I'd be happy to hear your opinions or advice if you have any you'd like to share.

At the moment I'm thinking whether it'd be possible for me to tag the books in the second location with the tag "Linear Algebra", and then tell Foxtrot to only index these tagged files in this particular location while ignoring other files. I'm currently on Mac OS so I'm guessing tagging should be done with Mac OS's native file tags. I think what Mac OS does when tagging a file is to add an extended attribute to it; and I'm hoping that Foxtrot allows filtering such attributes when specifying which files to include in an index.

If anyone knows of a better solution, please feel free to share, I would be very thankful to hear it.

Well, it appears that my post has turned out kind of lengthy, so thank you for reading through all this.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can Foxtrot Display a PDF Document Outline Links?
Next Topic: [ANN] FoxTrot Search 8.0.4 b3 public beta available
Goto Forum:
  


Current Time: Sun Nov 24 07:59:53 GMT+1 2024