You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flow works better in the UI now but I seem to have broken the automatic
forwarding after upload and import. (I didn’t touch the .js, so I’m not
sure what I did that would break it.)
<pclass="type_copy">You've just seen how the Simple Search Service can power a search engine, now you'll see how it can power content discovery. Here, the interface uses context from the page to query the service.</p>
<pclass="type_copy">In your application, you may not want to present the results as a table. No problem, you can present the results however you see fit. <aclass="type_link" href="https://console.ng.bluemix.net/data/discovery/fullservice/cloudant-nosql-db/resources" target="_blank">See the Resources tab in the Bluemix catalog</a> for an example.</p>
Copy file name to clipboardExpand all lines: views/templates/apiexamplefacet.html
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,8 @@ <h2 class="type_heading"><mark class="type_mark">Using the API</mark></h2>
24
24
<pclass="type_copy">{{message ? message : 'The API is returning ' + apiExampleDocs.data.rows.length + ' of ' + apiExampleDocs.data.total_rows}} results. If you want to show more or less per API call, <aclass="type_link" href="#/settings">set a new query limit</a>.</p>
25
25
<!-- </div> -->
26
26
27
+
<pclass="type_copy">
28
+
In your application, you may not want to present the results as a table. No problem, you can present the results however you see fit. <aclass="type_link" href="https://console.ng.bluemix.net/data/discovery/fullservice/cloudant-nosql-db/resources" target="_blank">See the Resources tab in the Bluemix catalog</a> for an example.
Copy file name to clipboardExpand all lines: views/templates/import.html
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
<sectionclass="layout_section theme_light">
2
2
<h1class="type_heading"><markclass="type_mark">Create the Search Index</mark></h1>
3
3
4
+
<p>Preview your data, and pick fields to facet.</p>
5
+
4
6
<divng-show="currentStatus == 'uploaded'">
5
7
<pclass="type_copy">Here's a preview of your data. Make sure the data types are correct. (E.g., if you want to <code>facet</code> by a number, you'll need to change the data type from <code>number</code> to <code>string</code>.)</p>
6
8
<pclass="type_copy"><strong>Pay extra attention to the Facet column.</strong> Check the checkbox next to those values you want to search by, and we'll automatically index those values as <code>counts</code> (i.e., <em>facets</em>).</p>
@@ -11,17 +13,24 @@ <h1 class="type_heading"><mark class="type_mark">Create the Search Index</mark><
<codeclass="type_mark">*:*</code> will bring back everything you've indexed
10
-
</li>
11
-
<li>
12
-
<codeclass="type_mark">[key]:'[value]'</code> will bring back results that match the <codeclass="type_mark">[key]</code> with the <codeclass="type_mark">[value]</code>; e.g., <codeclass="type_mark">town:'ashfield'</code>
13
-
</li>
14
-
<li>
15
-
<codeclass="type_mark">[key1]:'[value1]' OR [key2]:'[value2]'</code> is the syntax for multiple matches.<br>
16
-
Combine free text and faceted search like this: <codeclass="type_mark">willowbank AND [key]:'[value]'</code></li>
<pclass="type_copy">The <code>counts</code> and <code>rows</code> presented as JSON.</p>
20
+
<ulclass="type_copy collapsible" id="searchTips">
21
+
<li>
22
+
<codeclass="type_mark">*:*</code> will bring back everything you've indexed
23
+
</li>
24
+
<li>
25
+
<codeclass="type_mark">[key]:'[value]'</code> will bring back results that match the <codeclass="type_mark">[key]</code> with the <codeclass="type_mark">[value]</code>; e.g., <codeclass="type_mark">town:'ashfield'</code>
26
+
</li>
27
+
<li>
28
+
<codeclass="type_mark">[key1]:'[value1]' OR [key2]:'[value2]'</code> is the syntax for multiple matches.<br>
29
+
Combine free text and faceted search like this: <codeclass="type_mark">willowbank AND [key]:'[value]'</code></li>
<pclass="type_copy">If you want to use this service to index different data, or to re-index the same data with different facets or data types, you can blow away your database, and the indexes, and start over again.</p>
<pclass="type_copy">If you want to use this service to index different data, or to re-index the same data with different facets or data types, you can blow away your database, and the indexes, and start over again.</p>
0 commit comments