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
<inputtype="hidden" name="doc.{{ index }}.loc" value="{{ location }}">
11
11
<inputtype="hidden" name="doc.{{ index }}.type" value="{{ type }}">
@@ -29,17 +29,16 @@
29
29
>
30
30
{% endcall %}
31
31
32
-
{% call checkbox(label="Use Cache", id="lib-cache-input-" ~ index, description="If checked, the plugin will cache the index. If not checked, the plugin will rebuild the index for each query.") %}
32
+
{% call checkbox(label="Cache Results", id="lib-cache-input-" ~ index, description="If checked, the plugin will cache the results that you get for each query, for faster lookup times on duplicate queries.") %}
33
33
<input
34
34
id="lib-cache-input-{{ index }}"
35
35
type="checkbox"
36
-
name="doc.{{ index }}.use_cache"
37
-
{%ifuse_cache%}checked{%endif%}
38
-
{%ifis_api%}disabled{%endif%}
36
+
name="doc.{{ index }}.cache_results"
37
+
{%ifcache_results%}checked{%endif%}
39
38
>
40
39
{% endcall %}
41
40
42
-
{% call checkbox(label="Is API", id="lib-api-input-" ~ index, description="If checked, this means that the plugin must make a web request for each query, and that caching is not supported.") %}
41
+
{% call checkbox(label="Is API", id="lib-api-input-" ~ index, description="If checked, this means that the plugin must make a web request for each query, and the API determines the ordering of the results, and which results get shown.") %}
43
42
<inputtype="checkbox" id="lib-api-input-{{ index }}" name="doc.{{ index }}.is_api" disabled{%ifis_api%}checked{%endif%}>
0 commit comments