diff --git a/website/howtos/index.html b/website/howtos/index.html new file mode 100644 index 00000000..cee9fff2 --- /dev/null +++ b/website/howtos/index.html @@ -0,0 +1,47 @@ + + + + + Recoll howtos + + + + + + + + + + + + + + + + +
+ +

Recoll howtos

+ +

The following short documents contain information + mostly extracted from the main user manual (possibly out of + separate sections), arranged differently in order to explain + how to achieve a given goal.

+ + + +
+ + diff --git a/website/howtos/prevent_indexing_a_directory/index.html b/website/howtos/prevent_indexing_a_directory/index.html new file mode 100644 index 00000000..9034d364 --- /dev/null +++ b/website/howtos/prevent_indexing_a_directory/index.html @@ -0,0 +1,68 @@ + + + + + Recoll howtos + + + + + + + + + + + + + + + + +
+ +

Preventing indexing in a directory

+ +

Why would you want to do this ?

+

By default, recollindex (or the indexing thread inside the + recoll QT user interface) will process your home directories and + most its subdirectories, at the exception of some well known + places (thumbnails, beagle and web browser caches, etc.)

+ +

You may want to prevent indexing in some directories where + you don't expect interesting search results. This will avoid + polluting the search result lists, speed up indexing times and + make the index smaller.

+ +

How to do it

+

There are two ways to block indexing at certain points: + either by listing specific paths, or by directory name pattern + matches.

+ + + +
+ + diff --git a/website/howtos/use_multiple_indexes/index.html b/website/howtos/use_multiple_indexes/index.html new file mode 100644 index 00000000..0c1c40c0 --- /dev/null +++ b/website/howtos/use_multiple_indexes/index.html @@ -0,0 +1,109 @@ + + + + + Recoll howtos + + + + + + + + + + + + + + + + +
+ +

Creating and using multiple indexes

+ +

Why would you want to do this ?

+ + +

How to do it

+ +

As an example we'll suppose that you + have Recoll installed and indexing your + home directory, and that you would like to have a separate index + for /usr/shared/doc.

+ +

You need to create a separate configuration for the new index, + then add it to the external indexes list in the user + interface, and activate it as needed.

+ +
    +
  1. Create a directory for the new index: +
    cd
    +mkdir .recoll-sharedoc
    +	  
    +
  2. +
  3. Create a minimal configuration file: +
    cd .recoll-sharedoc
    +echo "topdirs = /usr/share/doc" > recoll.conf
    +	  
    +
  4. +
  5. Perform initial indexing: +
    recollindex -c ~/.recoll-sharedoc
    +
  6. +
  7. Optionally set up cron to perform nightly indexing, use +
    crontab -e
    + and insert a line like the following: +
    45 20 * * * recollindex -c ~/.recoll-sharedoc
    + This would start the indexing at + 20:45. crontab -e will use the + vi editor by default, you can + change this by using the EDITOR + environment variable. Exemple: +
    EDITOR=kate crontab -e
    + Your favorite desktop may also have a dedicated tool to add + crontab entries. +
  8. +
  9. Start recoll and choose + the Preferences->External index dialog + menu entry, then click the Browse button + (near the bottom), and select the new index Xapian database + directory: +
    ~/.recoll-sharedoc/xapiandb
    + Then click Add index. +
  10. +
  11. You can then activate or deactivate the new index by + clicking the box in front of the directory name in the list. +
  12. +
+ +

When adding an index shared by multiple users, it may + be helpful to use + the RECOLL_EXTRA_DBS environment + variable instead of editing individual configurations, see the + manual for more details.

+ +
+ + diff --git a/website/pics/piclist.txt b/website/pics/piclist.txt new file mode 100644 index 00000000..e3b6f8d4 --- /dev/null +++ b/website/pics/piclist.txt @@ -0,0 +1,8 @@ +recoll0.png +recoll1.png +recoll2.png +recoll3.png +recoll4.png +recoll5.png +recoll_chinese.png +recoll-HTML_search_results.png diff --git a/website/pics/recoll-HTML_search_results-thumb.png b/website/pics/recoll-HTML_search_results-thumb.png new file mode 100644 index 00000000..51fe26f9 Binary files /dev/null and b/website/pics/recoll-HTML_search_results-thumb.png differ diff --git a/website/pics/recoll-HTML_search_results.html b/website/pics/recoll-HTML_search_results.html new file mode 100644 index 00000000..f4eaf74a --- /dev/null +++ b/website/pics/recoll-HTML_search_results.html @@ -0,0 +1,40 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

A customized result list, thanks to Michael Croes. The html code follows, +it should be pasted into the +Preferences->Query Configuration->Result paragraph format string entry. + +

+<table border="1" bgcolor="lightyellow">
+    <tr>
+        <td rowspan="4" width="40px" align="center"
+                valign="center">
+            <img src="%I" width="32" height="32">
+            <p><b>%R</b></p>
+            <p><a href="P%N">Aperçu</a></p>
+        </td>
+        <th colspan="3" bgcolor="lightgrey">%T</th>
+    </tr>
+    <tr>
+        <td align="center">%M</td>
+        <td align="center">%D</td>
+        <td align="center">%S</td>
+    </tr>
+    <tr>
+        <td colspan="3"><a href="E%N">%U</a></td>
+    </tr>
+    <tr>
+        <td colspan="3">%A</td>
+    </tr>
+</table>
+

+

+ + diff --git a/website/pics/recoll-HTML_search_results.png b/website/pics/recoll-HTML_search_results.png new file mode 100644 index 00000000..918a596b Binary files /dev/null and b/website/pics/recoll-HTML_search_results.png differ diff --git a/website/pics/recoll-HTML_search_results.txt b/website/pics/recoll-HTML_search_results.txt new file mode 100644 index 00000000..04cc7845 --- /dev/null +++ b/website/pics/recoll-HTML_search_results.txt @@ -0,0 +1,28 @@ +A customized result list, thanks to Michael Croes. The html code follows, +it should be pasted into the +Preferences->Query Configuration->Result paragraph format string entry. + +
+<table border="1" bgcolor="lightyellow">
+    <tr>
+        <td rowspan="4" width="40px" align="center"
+                valign="center">
+            <img src="%I" width="32" height="32">
+            <p><b>%R</b></p>
+            <p><a href="P%N">Aperçu</a></p>
+        </td>
+        <th colspan="3" bgcolor="lightgrey">%T</th>
+    </tr>
+    <tr>
+        <td align="center">%M</td>
+        <td align="center">%D</td>
+        <td align="center">%S</td>
+    </tr>
+    <tr>
+        <td colspan="3"><a href="E%N">%U</a></td>
+    </tr>
+    <tr>
+        <td colspan="3">%A</td>
+    </tr>
+</table>
+
diff --git a/website/pics/recoll0-thumb.png b/website/pics/recoll0-thumb.png new file mode 100644 index 00000000..e403f4b0 Binary files /dev/null and b/website/pics/recoll0-thumb.png differ diff --git a/website/pics/recoll0.html b/website/pics/recoll0.html new file mode 100644 index 00000000..47a09151 --- /dev/null +++ b/website/pics/recoll0.html @@ -0,0 +1,13 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

A result list with the mime type icons feature turned on.

+

+ + diff --git a/website/pics/recoll0.png b/website/pics/recoll0.png new file mode 100644 index 00000000..62c64a99 Binary files /dev/null and b/website/pics/recoll0.png differ diff --git a/website/pics/recoll0.txt b/website/pics/recoll0.txt new file mode 100644 index 00000000..83339200 --- /dev/null +++ b/website/pics/recoll0.txt @@ -0,0 +1 @@ +A result list with the mime type icons feature turned on. diff --git a/website/pics/recoll1-thumb.png b/website/pics/recoll1-thumb.png new file mode 100644 index 00000000..a675fb9f Binary files /dev/null and b/website/pics/recoll1-thumb.png differ diff --git a/website/pics/recoll1.html b/website/pics/recoll1.html new file mode 100644 index 00000000..b95afe7e --- /dev/null +++ b/website/pics/recoll1.html @@ -0,0 +1,13 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

A result list with a preview window open.

+

+ + diff --git a/website/pics/recoll1.png b/website/pics/recoll1.png new file mode 100644 index 00000000..a6104b22 Binary files /dev/null and b/website/pics/recoll1.png differ diff --git a/website/pics/recoll1.txt b/website/pics/recoll1.txt new file mode 100644 index 00000000..798a77b6 --- /dev/null +++ b/website/pics/recoll1.txt @@ -0,0 +1,4 @@ +A result list with a preview window open. + + + diff --git a/website/pics/recoll2-thumb.png b/website/pics/recoll2-thumb.png new file mode 100644 index 00000000..d3d85851 Binary files /dev/null and b/website/pics/recoll2-thumb.png differ diff --git a/website/pics/recoll2.html b/website/pics/recoll2.html new file mode 100644 index 00000000..5745e3b6 --- /dev/null +++ b/website/pics/recoll2.html @@ -0,0 +1,13 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

The advanced search dialog.

+

+ + diff --git a/website/pics/recoll2.png b/website/pics/recoll2.png new file mode 100644 index 00000000..995b66ff Binary files /dev/null and b/website/pics/recoll2.png differ diff --git a/website/pics/recoll2.txt b/website/pics/recoll2.txt new file mode 100644 index 00000000..a70ce9bd --- /dev/null +++ b/website/pics/recoll2.txt @@ -0,0 +1 @@ +The advanced search dialog. diff --git a/website/pics/recoll3-thumb.png b/website/pics/recoll3-thumb.png new file mode 100644 index 00000000..ac6230a7 Binary files /dev/null and b/website/pics/recoll3-thumb.png differ diff --git a/website/pics/recoll3.html b/website/pics/recoll3.html new file mode 100644 index 00000000..fd10b538 --- /dev/null +++ b/website/pics/recoll3.html @@ -0,0 +1,14 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

A result list from which the native application (firefox) +was started by clicking the Edit link.

+

+ + diff --git a/website/pics/recoll3.png b/website/pics/recoll3.png new file mode 100644 index 00000000..85de6328 Binary files /dev/null and b/website/pics/recoll3.png differ diff --git a/website/pics/recoll3.txt b/website/pics/recoll3.txt new file mode 100644 index 00000000..47ebed25 --- /dev/null +++ b/website/pics/recoll3.txt @@ -0,0 +1,2 @@ +A result list from which the native application (firefox) +was started by clicking the Edit link. diff --git a/website/pics/recoll4-thumb.png b/website/pics/recoll4-thumb.png new file mode 100644 index 00000000..9ba6aafc Binary files /dev/null and b/website/pics/recoll4-thumb.png differ diff --git a/website/pics/recoll4.html b/website/pics/recoll4.html new file mode 100644 index 00000000..9915d5fd --- /dev/null +++ b/website/pics/recoll4.html @@ -0,0 +1,14 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

The document history window looks a little like a result list +I'm afraid...

+

+ + diff --git a/website/pics/recoll4.png b/website/pics/recoll4.png new file mode 100644 index 00000000..a46290ff Binary files /dev/null and b/website/pics/recoll4.png differ diff --git a/website/pics/recoll4.txt b/website/pics/recoll4.txt new file mode 100644 index 00000000..5cfea539 --- /dev/null +++ b/website/pics/recoll4.txt @@ -0,0 +1,2 @@ +The document history window looks a little like a result list +I'm afraid... diff --git a/website/pics/recoll5-thumb.png b/website/pics/recoll5-thumb.png new file mode 100644 index 00000000..00e2deda Binary files /dev/null and b/website/pics/recoll5-thumb.png differ diff --git a/website/pics/recoll5.html b/website/pics/recoll5.html new file mode 100644 index 00000000..ad70a970 --- /dev/null +++ b/website/pics/recoll5.html @@ -0,0 +1,13 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

The term explorer tool in phonetic mode.

+

+ + diff --git a/website/pics/recoll5.png b/website/pics/recoll5.png new file mode 100644 index 00000000..6a3373b1 Binary files /dev/null and b/website/pics/recoll5.png differ diff --git a/website/pics/recoll5.txt b/website/pics/recoll5.txt new file mode 100644 index 00000000..ff689efa --- /dev/null +++ b/website/pics/recoll5.txt @@ -0,0 +1 @@ +The term explorer tool in phonetic mode. diff --git a/website/pics/recoll_chinese-thumb.png b/website/pics/recoll_chinese-thumb.png new file mode 100644 index 00000000..c44549a0 Binary files /dev/null and b/website/pics/recoll_chinese-thumb.png differ diff --git a/website/pics/recoll_chinese.html b/website/pics/recoll_chinese.html new file mode 100644 index 00000000..a9ceccc5 --- /dev/null +++ b/website/pics/recoll_chinese.html @@ -0,0 +1,14 @@ + + + + Photo + + +

Prev Up + Next      + Raw Image

+

Recoll searching Chinese text. Chinese text search is based on n-grams and +relatively rough, but still useful (I am told).

+

+ + diff --git a/website/pics/recoll_chinese.png b/website/pics/recoll_chinese.png new file mode 100644 index 00000000..2dbe6235 Binary files /dev/null and b/website/pics/recoll_chinese.png differ diff --git a/website/pics/recoll_chinese.txt b/website/pics/recoll_chinese.txt new file mode 100644 index 00000000..da25aac6 --- /dev/null +++ b/website/pics/recoll_chinese.txt @@ -0,0 +1,2 @@ +Recoll searching Chinese text. Chinese text search is based on n-grams and +relatively rough, but still useful (I am told).