6

I specify a directory in my /home as /home/wayne/recoll for Recoll to index docs and html; but it indexes all my files and directories under /home/wayne. How can I restrict it please?

DK Bose
  • 44,553

2 Answers2

3

Also in query language option you can specify

dir:/home/wayne/recoll

The search would restrict to 'recoll'

2

I have Recoll 1.21.5.

  • Open Recoll, click on Preferences.
  • In the dropdown, choose Index configuration.
  • In the window that opens, make sure you're in the Global parameters tab.
  • Click on the minus sign to remove whatever existing path you do not want and then click on the plus sign to choose, from the interface, the path you want.
  • Once done, click OK near the bottom right. You'll now be back in the main Recoll window. There, click on File, Rebuild index.

Recoll should now only search from the folder you've specified and below (recurse).

DK Bose
  • 44,553