|
a/website/release-1.20.html |
|
b/website/release-1.20.html |
|
... |
|
... |
62 |
by excessive intervals between releases, the first versions
|
62 |
by excessive intervals between releases, the first versions
|
63 |
of 1.20 will be allowed to contain some functional changes (as
|
63 |
of 1.20 will be allowed to contain some functional changes (as
|
64 |
opposed to only bug fixes). There will be a freeze at some
|
64 |
opposed to only bug fixes). There will be a freeze at some
|
65 |
point.
|
65 |
point.
|
66 |
|
66 |
|
67 |
<h2>Changes in Recoll 1.20.0</h2>
|
67 |
<h2>Changes in Recoll 1.20.0p1</h2>
|
68 |
<ul>
|
68 |
<ul>
|
69 |
|
69 |
|
70 |
<li>An <em>Open With</em> entry was added to the result list
|
70 |
<li>An <em>Open With</em> entry was added to the result list
|
71 |
and result table popup menus. This lets you choose an
|
71 |
and result table popup menus. This lets you choose an
|
72 |
alternative application to open a document. The list of
|
72 |
alternative application to open a document. The list of
|
|
... |
|
... |
107 |
<em>excludedmimetypes</em> variables to the configuration
|
107 |
<em>excludedmimetypes</em> variables to the configuration
|
108 |
GUI, which was also compacted a bit. A bunch of
|
108 |
GUI, which was also compacted a bit. A bunch of
|
109 |
ininteresting variables were also removed.</li>
|
109 |
ininteresting variables were also removed.</li>
|
110 |
|
110 |
|
111 |
<li>When indexing, we no longer add the top container
|
111 |
<li>When indexing, we no longer add the top container
|
112 |
file-name as a term for the contained sub-documents (if
|
112 |
file name as a term for the contained sub-documents (if
|
113 |
any). This made no sense at all in most cases. However,
|
113 |
any). This made no sense in most cases, as it meant that
|
114 |
this was sometimes useful when searching email
|
114 |
you would get hits on all the sections from a chm or epub
|
115 |
folders. Complain if you do not like this change, and I'll
|
115 |
when the top file name matched the search, when you
|
116 |
make it configurable.</li>
|
116 |
probably wanted only the parent document in this case.<br>
|
|
|
117 |
However, the container file name was sometimes useful for
|
|
|
118 |
filtering results, and it is still accessible, in a
|
|
|
119 |
different way: the top container file name is added as a
|
|
|
120 |
term to all the sub-documents, <em>only for searching with
|
|
|
121 |
a prefix</em>. The field name
|
|
|
122 |
is <span class="literal">containerfilename</span>, and no
|
|
|
123 |
match on the subdocuments will occur if the field is not
|
|
|
124 |
specified (this is different from
|
|
|
125 |
previous <span class="literal">filename</span> processing,
|
|
|
126 |
which was indexed as a general
|
|
|
127 |
term. <span class="literal">containerfilename</span> is
|
|
|
128 |
also set on files without sub-documents (e.g. a pdf).</li>
|
|
|
129 |
|
|
|
130 |
<li>A new attribute, <span class="literal">pfxonly</span>,
|
|
|
131 |
was created. This can be set on any metadata field inside
|
|
|
132 |
the <span class="literal">[prefixes]</span> section of
|
|
|
133 |
the <span class="filename">fields</span> file.</li>
|
|
|
134 |
|
|
|
135 |
<li>A new <span class="literal">[queryaliases]</span>
|
|
|
136 |
section was created in
|
|
|
137 |
the <span class="filename">fields</span>, for definining
|
|
|
138 |
field name aliases to be used only at query time (to avoid
|
|
|
139 |
unwanted collection of data on random fields during
|
|
|
140 |
indexing). The section is empty by default, but 2 obvious
|
|
|
141 |
alias are in
|
|
|
142 |
comment: <span class="literal">filename=fn</span>
|
|
|
143 |
and <span class="literal">containerfilename=cfn</span>. Setting
|
|
|
144 |
them in your personal file may save you some typing if you
|
|
|
145 |
search on file names.</li>
|
117 |
|
146 |
|
118 |
<li>You can now use both <em>-e</em> and <em>-i</em> for
|
147 |
<li>You can now use both <em>-e</em> and <em>-i</em> for
|
119 |
erasing then updating the index for the given file
|
148 |
erasing then updating the index for the given file
|
120 |
arguments with the same <em>recollindex</em> command.</li>
|
149 |
arguments with the same <em>recollindex</em> command.</li>
|
121 |
|
150 |
|
|
... |
|
... |
124 |
Python API search results. This allows writing scripts
|
153 |
Python API search results. This allows writing scripts
|
125 |
which combine Recoll and pure Xapian operations. A sample
|
154 |
which combine Recoll and pure Xapian operations. A sample
|
126 |
Python program to find document duplicates, using MD5
|
155 |
Python program to find document duplicates, using MD5
|
127 |
terms was added. See
|
156 |
terms was added. See
|
128 |
<span class="filename">src/python/samples/docdups.py</span></li>
|
157 |
<span class="filename">src/python/samples/docdups.py</span></li>
|
|
|
158 |
|
|
|
159 |
<li>The command used to identify the mime types of files
|
|
|
160 |
when the internal method is <span class="literal">file
|
|
|
161 |
-i</span> by default. It is now possible to customize this
|
|
|
162 |
command by setting
|
|
|
163 |
the <span class="literal">systemfilecommand</span> in the
|
|
|
164 |
configuration. A suggested value would
|
|
|
165 |
be <span class="filename">xdg-mime</span>, which sometimes
|
|
|
166 |
works better than <span class="filename">file</span>.</li>
|
|
|
167 |
|
|
|
168 |
<li>The result list has two new elements: %P substitution
|
|
|
169 |
for printing the parent folder name, and an <tt>F</tt>
|
|
|
170 |
link target which will open the parent folder in a
|
|
|
171 |
file manager window.</li>
|
129 |
|
172 |
|
130 |
<li><span class="filename">/media</span> was added to the default
|
173 |
<li><span class="filename">/media</span> was added to the default
|
131 |
skippedPaths list mostly as a reminder that blindly
|
174 |
skippedPaths list mostly as a reminder that blindly
|
132 |
processing these with the general indexer is a bad idea
|
175 |
processing these with the general indexer is a bad idea
|
133 |
(use separate indexes instead).</li>
|
176 |
(use separate indexes instead).</li>
|