Fix #779: Add search by path
[geeqie.git] / doc / docbook / GuideImageSearchSearch.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <section id="GuideImageSearchSearch">\r
3   <title id="titleGuideImageSearchSearch">Search Window</title>\r
4   <para>Geeqie provides a utility to find one or more images based on various parameters.</para>\r
5   <para>\r
6     To display a new Search Window press\r
7     <keycap>F3</keycap>\r
8     or select\r
9     <guimenu>Search</guimenu>\r
10     from the File menu.\r
11   </para>\r
12   <para>\r
13     To start a search activate the\r
14     <code>\r
15       <guibutton>\r
16         <guiicon>\r
17           <inlinegraphic fileref="edit-find.png" />\r
18         </guiicon>\r
19         Find\r
20       </guibutton>\r
21     </code>\r
22     button or press\r
23     <code>Ctrl + Enter</code>\r
24     . A search in progress can be stopped by activating the\r
25     <code>\r
26       <guibutton>\r
27         <guiicon>\r
28           <inlinegraphic fileref="process-stop.png" />\r
29         </guiicon>\r
30         Stop\r
31       </guibutton>\r
32     </code>\r
33     button or press\r
34     <code>Ctrl + Enter</code>\r
35     .\r
36   </para>\r
37   <para>The progress of an active search is displayed as a progress bar at the bottom of the window. The progress bar will also display the total files that match the search parameters, and the total number of files searched.</para>\r
38   <para>When a search is completed, the total number of files found and their total size will be displayed in the status bar.</para>\r
39   <para />\r
40   <section id="Searchlocation">\r
41     <title>Search location</title>\r
42     <para>One of several locations can be chosen as the source to use in the search.</para>\r
43     <variablelist>\r
44       <varlistentry>\r
45         <term>\r
46           <guilabel>Path</guilabel>\r
47         </term>\r
48         <listitem>The search will include files located in the selected folder, enable the Recurse check box to include the contents of all sub folders.</listitem>\r
49       </varlistentry>\r
50       <varlistentry>\r
51         <term>\r
52           <guilabel>Comments</guilabel>\r
53         </term>\r
54         <listitem>\r
55           This option is only for use with GqView legacy metadata.\r
56           <para />\r
57           The search will include all files that have a keyword or comment associated to it.\r
58           <note>Only keyword and comment associations stored in the user's home folder are included in this search type.</note>\r
59         </listitem>\r
60       </varlistentry>\r
61       <varlistentry>\r
62         <term>\r
63           <guilabel>Results</guilabel>\r
64         </term>\r
65         <listitem>The search will include all files currently listed in the results list. Use this to refine a previous search.</listitem>\r
66       </varlistentry>\r
67       <varlistentry>\r
68         <term>\r
69           <guilabel>Collection</guilabel>\r
70         </term>\r
71         <listitem>The search will include all files in the selected collection.</listitem>\r
72       </varlistentry>\r
73     </variablelist>\r
74     <para />\r
75     <para />\r
76   </section>\r
77   <section id="Searchparameters">\r
78     <title>Search parameters</title>\r
79     <para>Each search parameter can be enabled or disabled with the check box to its left. For a file to be a match, all enabled parameters must be true.</para>\r
80     <variablelist>\r
81       <varlistentry>\r
82         <term>\r
83           <guilabel>File</guilabel>\r
84         </term>\r
85         <listitem>\r
86           If "name is" is selected, the search will match if the text exactly matches the file name. If "name contains" or "path contains" is selected, the search will match if the entered text appears within the file name or path.<para/>The text comparison can be made to be case sensitive by enabling the Match case checkbox.\r
87           <para />\r
88           If "contains" or "path contains" is selected,\r
89           <link linkend="GuideReferencePCRE">Perl Compatible Regular Expressions</link>\r
90           are used.\r
91         </listitem>\r
92       </varlistentry>\r
93       <varlistentry>\r
94         <term>\r
95           <guilabel>File size</guilabel>\r
96         </term>\r
97         <listitem>\r
98           The search will match if the file size on disk is equal to, less than, greater than, or between the entered value, depending on the method selected from the drop down menu. The\r
99           <emphasis>between</emphasis>\r
100           test is inclusive - for example a file of size 10 will match if the size parameters are between 10 and 15.\r
101         </listitem>\r
102       </varlistentry>\r
103       <varlistentry>\r
104         <term>\r
105           <guilabel>File date</guilabel>\r
106         </term>\r
107         <listitem>\r
108           The search will match if the file date is equal to, before, after, or between the entered date, depending on the method selected from the drop down menu. The\r
109           <emphasis>between</emphasis>\r
110           test is inclusive, for example a file with date of 10/04/2003 will match if the date parameters are between 10/04/2003 and 12/31/2003.\r
111           <para />\r
112           For convenience, the\r
113           <code>\r
114             <guibutton>\r
115               <guiicon>\r
116                 <inlinegraphic fileref="go-down.png" />\r
117               </guiicon>\r
118             </guibutton>\r
119           </code>\r
120           button displays a pop up calendar to enter the date.\r
121           <para />\r
122           One of four date types may be selected. They are described in the\r
123           <link linkend="GuideReferenceFileDates">Reference section</link>\r
124           .\r
125           <note>If an image does not have an exif date, it will default to 01 January 1970.</note>\r
126         </listitem>\r
127       </varlistentry>\r
128       <varlistentry>\r
129         <term>\r
130           <guilabel>Image dimensions</guilabel>\r
131         </term>\r
132         <listitem>\r
133           The search will match if the image dimensions are equal to, less than, greater than, or between the entered values, depending on the method selected from the drop down menu. The\r
134           <emphasis>between</emphasis>\r
135           test is inclusive.\r
136           <para />\r
137           The image dimensions test is simple, both width and height must be within the allowed values for a match.\r
138         </listitem>\r
139       </varlistentry>\r
140       <varlistentry>\r
141         <term>\r
142           <guilabel>Image content</guilabel>\r
143         </term>\r
144         <listitem>\r
145           The search will match if the image contents are similar within the percentage value, inclusive. This uses the same test and data that is used to determine image similarity when\r
146           <link linkend="GuideImageSearchFindingDuplicates">Finding Duplicates</link>\r
147           . The entry is for entering the path for the image to use in this test.\r
148         </listitem>\r
149       </varlistentry>\r
150       <varlistentry>\r
151         <term>\r
152           <guilabel>Keywords</guilabel>\r
153         </term>\r
154         <listitem>The search will match if the file's associated keywords match all, match any, or exclude the entered keywords, depending on the method selected from the drop down menu. Keywords can be separated with a space, comma, or tab character.</listitem>\r
155       </varlistentry>\r
156       <varlistentry>\r
157         <term>\r
158           <guilabel>Comment</guilabel>\r
159         </term>\r
160         <listitem>\r
161           The search will match if the file's Comments field contains the entered pattern.\r
162           <link linkend="GuideReferencePCRE">Perl Compatible Regular Expressions</link>\r
163           are used.\r
164         </listitem>\r
165       </varlistentry>\r
166       <varlistentry>\r
167         <term>\r
168           <guilabel>Geocoded position</guilabel>\r
169         </term>\r
170         <listitem>\r
171           The search will match if the file's GPS position is less than or greater than the selected distance from the specified position, or is not geocoded, depending on the method selected from the drop down menu.\r
172           The search location can be specified by\r
173           <itemizedlist>\r
174             <listitem>\r
175               Type in a latitude/longitude in the format\r
176               <code>89.123 179.123</code>\r
177             </listitem>\r
178             <listitem>Drag-and-drop a geocoded image onto the search box</listitem>\r
179             <listitem>If Geeqie's map is displayed, a left-click on the map will store the latitude/longitude under the mouse cursor into the clipboard. It can then be pasted into the search box.</listitem>\r
180             <listitem>Copy-and-paste (in some circumstances drag-and-drop) the result of an Internet search.</listitem>\r
181           </itemizedlist>\r
182           <note>\r
183             In this last case, the result of a search may contain the latitude/longitude embedded in the URL. This may be automatically decoded with the help of an external file:-\r
184             <programlisting xml:space="preserve">$HOME/.config/geeqie/geocode-parameters.awk</programlisting>\r
185             See\r
186             <link linkend="GuideReferenceDecodeLatLong">Decoding Latitude and Longitude</link>\r
187             for details on how to create this file.\r
188           </note>\r
189         </listitem>\r
190       </varlistentry>\r
191       <varlistentry>\r
192         <term>\r
193           <guilabel>Class</guilabel>\r
194         </term>\r
195         <listitem>\r
196           The search will match if the file's class is, or is not, one of the following types.\r
197           <itemizedlist>\r
198             <listitem>Unknown</listitem>\r
199             <listitem>Image</listitem>\r
200             <listitem>Raw Image</listitem>\r
201             <listitem>Video</listitem>\r
202             <listitem>Document</listitem>\r
203             <listitem>Metadata</listitem>\r
204             <listitem>Unknown</listitem>\r
205             <listitem>Broken (Of class Image, Raw Image, Video, or Document, but Geeqie cannot display an image)</listitem>\r
206           </itemizedlist>\r
207         </listitem>\r
208       </varlistentry>\r
209       <varlistentry>\r
210         <term>\r
211           <guilabel>Marks</guilabel>\r
212         </term>\r
213         <listitem>\r
214           The search will match if the file does or does not have a mark attached to it. Refer to\r
215           <link linkend="GuideImageMarks">Marking Images</link>\r
216           .\r
217         </listitem>\r
218       </varlistentry>\r
219     </variablelist>\r
220     <para />\r
221     <para />\r
222   </section>\r
223   <section id="Resultslist">\r
224     <title>Results list</title>\r
225     <para>Files that match the parameters of the search are shown in the list. By default they are displayed in the order that they are found. To sort the results list by a column, activate or click the column title. Activating a column that is already used to sort the list will toggle between increasing and decreasing sort order.</para>\r
226     <para>\r
227       A\r
228       <emphasis role="strong">context menu</emphasis>\r
229       is available for the result list by right clicking the mouse or pressing the Menu key when a row has the focus.\r
230     </para>\r
231     <para>\r
232       The\r
233       <link linkend="GuideReferenceKeyboardShortcuts" endterm="titleGuideReferenceKeyboardShortcuts" />\r
234       available are listed here.\r
235     </para>\r
236     <para>The image Dimensions column of the result list will only contain dimension information when dimensions are included in the search parameters.</para>\r
237     <para />\r
238   </section>\r
239   <section id="Statusbar">\r
240     <title>Status bar</title>\r
241     <para>At the bottom of the search window is an area that includes the following items from left to right:</para>\r
242     <variablelist>\r
243       <varlistentry>\r
244         <term>\r
245           <guilabel>Thumbnails</guilabel>\r
246         </term>\r
247         <listitem>Enable this check box to display a thumbnail next to each image in the results list.</listitem>\r
248       </varlistentry>\r
249       <varlistentry>\r
250         <term>\r
251           <guilabel>File count display</guilabel>\r
252         </term>\r
253         <listitem>Displays the total count of files in the results list, and their size on disk. The count of selected files will appear in parenthesis.</listitem>\r
254       </varlistentry>\r
255       <varlistentry>\r
256         <term>\r
257           <guilabel>Search progress</guilabel>\r
258         </term>\r
259         <listitem>When a search is active, the text “Searching...” will appear here. Two numbers in parenthesis will also be displayed, the first number is the number of files that match the search parameters and the second number is the total number of files that were searched.</listitem>\r
260       </varlistentry>\r
261       <varlistentry>\r
262         <term>\r
263           <code>\r
264             <guibutton>\r
265               <guiicon>\r
266                 <inlinegraphic fileref="edit-find.png" />\r
267               </guiicon>\r
268               Find\r
269             </guibutton>\r
270           </code>\r
271         </term>\r
272         <listitem>Activate the find button to start a search with the selected parameters.</listitem>\r
273       </varlistentry>\r
274       <para />\r
275       <varlistentry>\r
276         <term>\r
277           <code>\r
278             <guibutton>\r
279               <guiicon>\r
280                 <inlinegraphic fileref="process-stop.png" />\r
281               </guiicon>\r
282               Stop\r
283             </guibutton>\r
284           </code>\r
285         </term>\r
286         <listitem>Activate the stop button to end a search that is in progress.</listitem>\r
287       </varlistentry>\r
288     </variablelist>\r
289     <para />\r
290     <para />\r
291   </section>\r
292   <section id="DragandDrop">\r
293     <title>Drag and Drop</title>\r
294     <para>Drag and drop can be initiated with the primary or middle mouse buttons. Dragging a file that is selected will include all selected files in the drag. Dragging a file that is not selected will first change the selection to the dragged file, and clear the previous selection.</para>\r
295     <para />\r
296   </section>\r
297 </section>\r