Close Search
Indexing Web Pages?
It is possible, and in fact quite easy, to use Recoll to index and search the web pages you visit. First, download and install the Firefox add-on called Recoll WE [5]. Second, enable web indexing from the GUI Index configuration panel, or by setting the processwebqueue
variable to 1
in the configuration file. After that, one click on the Recoll WE button in Firefox will save a complete copy of the current page in a folder, where Recoll will later find, copy, and index it. The only limitation of this method is that Recoll stores all the copies in a cache of fixed size. No matter how big you make it, if that cache fills up, Recoll will automatically remove the older files it contains. You must explicitly archive any web page you want to keep indefinitely.
Index Maintenance
The command-line program that manages the actual indexing is called recollindex
. You can launch recollindex
from the File menu of the GUI, from the command line, or from a cron job. There are two ways, accessible from the Preferences | Indexing schedule panel, to keep an index up to date. One way is to make recollindex
run all the time in the background, indexing and re-indexing files as soon as they are created or modified. This approach may slow down your computer, so avoid it unless you really, really need an index that is as up to date as possible.
In most cases, it is much better to only run recollindex
at regular intervals, possibly every few days. By default, this program will analyze and index only the files that change after its previous run. You can, however, rebuild the whole index in any moment – from the GUI or by passing the -z
option to recollindex
. To update a different index, use the -c
option to show recollindex
the path to the corresponding configuration directory.
Basic and Advanced Search
Running basic searches in Recoll could not be any simpler: Enter the search term in the top text box, click the Search button, and browse the results (Figure 2). The Advanced Search panel (reachable from the Tools menu) and the web interface (Figure 3) can filter results in many ways, based on keywords or the type, age, and size of the file. All options are quite easy to understand by trial and error, so I will focus on an even more powerful feature: the language by which Recoll understands and can perform very complex queries. Once you know how to write a query, you can pass it to the recollq
command line utility or enter it in the text box of the desktop interface. You'll need to set the search mode to Query language
.
« Previous 1 2 3 4 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.