This file is indexed.

/usr/share/u1db-qt/doc/html/qml-u1db-query.html is in libu1db-qt5-doc 0.1.5+15.10.20150826.1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- query.cpp -->
  <title>Query QML Type | U1Db-Qt </title>
<link rel="stylesheet" type="text/css" href="style/css.css">
<link rel="stylesheet" type="text/css" href="style/css_002.css">
<link rel="stylesheet" type="text/css" href="style/reset.css">
<link rel="stylesheet" type="text/css" href="style/qtquick.css">
<link rel="stylesheet" type="text/css" href="style/base.css">
<link rel="stylesheet" type="text/css" href="style/scratch.css">
<link rel="stylesheet" type="text/css" href="style/base.css" /></head>
<body>
<div class="wrapper">
<div class="main-content">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Query QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Query-brief -->
<p>Query filters documents based on the query and index. <a href="#details">More...</a></p>
<!-- @@@Query -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import U1db .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-u1db-query.html"><a href="query.html">Query</a></td></tr></table></div><ul>
<li><a href="qml-u1db-query-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-u1db-query.html#documents-prop">documents</a></b></b> : list&lt;string&gt;</li>
<li class="fn"><b><b><a href="qml-u1db-query.html#index-prop">index</a></b></b> : Index</li>
<li class="fn"><b><b><a href="qml-u1db-query.html#query-prop">query</a></b></b> : Variant</li>
<li class="fn"><b><b><a href="qml-u1db-query.html#results-prop">results</a></b></b> : list&lt;Variant&gt;</li>
</ul>
<!-- $$$Query-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>In a ListView the Query can be used as a model.</p>
<pre class="qml"><span class="type">ListView</span> {
    <span class="name">model</span>: <span class="name">Query</span> {
        <span class="name">index</span>: <span class="name">Index</span> {
            <span class="name">name</span>: <span class="string">'colorIndex'</span>
            <span class="name">expression</span>: [ <span class="string">'color'</span> ]
            <span class="name">database</span>: <span class="name">myDatabase</span>
        }
        <span class="name">query</span>: [ <span class="string">'blue'</span> ]
    }
    <span class="name">delegate</span>: <span class="name">ListItem</span>.Subtitled {
        <span class="name">text</span>: <span class="name">docId</span>
        <span class="name">subText</span>: <span class="name">contents</span>.<span class="name">color</span>
    }
}</pre>
<p><b>See also </b><a href="qml-u1db-index.html">Index</a>.</p>
<!-- @@@Query -->
<h2>Property Documentation</h2>
<!-- $$$documents -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="documents-prop"><td class="tblQmlPropNode"><p><a name="documents-prop"></a><span class="name">documents</span> : <span class="type">list</span>&lt;<span class="type">string</span>&gt;</p></td></tr></table></div></div><div class="qmldoc"><p>The docId's of all matched documents.</p>
</div></div><!-- @@@documents -->
<br/>
<!-- $$$index -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="index-prop"><td class="tblQmlPropNode"><p><a name="index-prop"></a><span class="name">index</span> : <span class="type"><a href="qml-u1db-index.html">Index</a></span></p></td></tr></table></div></div><div class="qmldoc"><p>Sets the Index to use. <i>index</i> must have a valid name and index expressions. If no query is set, the default is all results of the index.</p>
</div></div><!-- @@@index -->
<br/>
<!-- $$$query -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="query-prop"><td class="tblQmlPropNode"><p><a name="query-prop"></a><span class="name">query</span> : <span class="type">Variant</span></p></td></tr></table></div></div><div class="qmldoc"><p>A query in one of the allowed forms: 'value', ['value'] or [{'sub-field': 'value'}]. The default is equivalent to '*'.</p>
</div></div><!-- @@@query -->
<br/>
<!-- $$$results -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="results-prop"><td class="tblQmlPropNode"><p><a name="results-prop"></a><span class="name">results</span> : <span class="type">list</span>&lt;<span class="type">Variant</span>&gt;</p></td></tr></table></div></div><div class="qmldoc"><p>The results of the query as a list.</p>
</div></div><!-- @@@results -->
<br/>
</div>
</div>
</body>
</html>