mirror of
https://github.com/documize/community.git
synced 2025-08-05 13:35:25 +02:00
1. Full text search supports MySQL, MariaDB, Percona and now PostgreSQL. 2. Changed SQL Variant to typed enum. 3. Changed doc.Versioned from INT to BOOL. 4. Search Reindexer now parses all documents and attachments. 5. Site meta API call returns storage provider type. 6. README prep'ed for PostgreSQL support. 7. DELETE SQL statements ignore zero rows affected. Closes #100 !!! Co-Authored-By: Saul S <sauls8t@users.noreply.github.com> Co-Authored-By: McMatts <matt@documize.com>
49 lines
No EOL
2.5 KiB
Handlebars
49 lines
No EOL
2.5 KiB
Handlebars
{{#layout/top-bar}}
|
|
{{/layout/top-bar}}
|
|
|
|
{{#layout/middle-zone}}
|
|
{{#layout/middle-zone-content}}
|
|
{{search/search-view filter=filter matchDoc=matchDoc matchContent=matchContent matchTag=matchTag matchFile=matchFile slog=slog}}
|
|
{{/layout/middle-zone-content}}
|
|
|
|
{{#layout/middle-zone-sidebar scrollable=true}}
|
|
<div id="sidebar" class="sidebar">
|
|
<h1>Search</h1>
|
|
<div class="view-search">
|
|
{{#if (eq appMeta.storageProvider constants.StoreProvider.MySQL)}}
|
|
<div class="syntax">
|
|
<div class="example">apple banana</div>
|
|
<div class="explain">Show results that contain at least one of the two words</div>
|
|
<div class="example">+apple +banana</div>
|
|
<div class="explain">Show results that contain both words</div>
|
|
<div class="example">+apple macintosh</div>
|
|
<div class="explain">Show results that contain the word "apple", but rank rows higher if they also contain "macintosh"</div>
|
|
<div class="example">+apple -macintosh</div>
|
|
<div class="explain">Show results that contain the word "apple" but not "macintosh"</div>
|
|
<div class="example">+apple +(>turnover <strudel)</div>
|
|
<div class="explain">Show results that contain the words "apple" and "turnover", or "apple" and "strudel" (in any order), but rank "apple turnover" higher than "apple strudel"</div>
|
|
<div class="example">apple*</div>
|
|
<div class="explain">Show results that contain words such as "apple", "apples", "applesauce", or "applet"</div>
|
|
<div class="example">"some words"</div>
|
|
<div class="explain">Show results that contain the exact phrase "some words" (for example, rows that contain "some words of wisdom" but not "some noise words")</div>
|
|
</div>
|
|
{{/if}}
|
|
{{#if (eq appMeta.storageProvider constants.StoreProvider.PostgreSQL)}}
|
|
<div class="syntax">
|
|
<div class="example">apple | banana</div>
|
|
<div class="explain">Show results that contain at either word</div>
|
|
<div class="example">apple & banana</div>
|
|
<div class="explain">Show results that contain both words</div>
|
|
<div class="example">apple !macintosh</div>
|
|
<div class="explain">Show results that contain the word "apple" but not "macintosh"</div>
|
|
<div class="example">google & (apple | microsoft) & !ibm</div>
|
|
<div class="explain">Show results that have "google", either "apple" or "microsoft" but not "ibm"</div>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{/layout/middle-zone-sidebar}}
|
|
{{/layout/middle-zone}}
|
|
|
|
{{#layout/bottom-bar}}
|
|
{{/layout/bottom-bar}} |