mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
awesome updates to help.html page
This commit is contained in:
44
PageRoot.cpp
44
PageRoot.cpp
@ -2678,6 +2678,16 @@ bool sendPageHelp ( TcpSocket *sock , HttpRequest *hr ) {
|
||||
"<br>"
|
||||
"<table width=650px cellpadding=5 cellspacing=0 border=0>"
|
||||
""
|
||||
|
||||
// yellow/gold bar
|
||||
"<tr>"
|
||||
"<td colspan=2 bgcolor=#f3c714>"
|
||||
"<b>"
|
||||
"Basic Query Syntax"
|
||||
"</b>"
|
||||
"</td>"
|
||||
"</tr>\n"
|
||||
|
||||
"<tr bgcolor=#0340fd>"
|
||||
""
|
||||
"<th><font color=33dcff>Example Query</font></th>"
|
||||
@ -2833,13 +2843,17 @@ bool sendPageHelp ( TcpSocket *sock , HttpRequest *hr ) {
|
||||
// new table?
|
||||
if ( g_fields[i].m_flag & QTF_BEGINNEWTABLE ) {
|
||||
sb.safePrintf("</table>"
|
||||
"<br>"
|
||||
"<br>"
|
||||
"<br>"
|
||||
"<table width=650px "
|
||||
"cellpadding=5 cellspacing=0 border=0>"
|
||||
// yellow/gold bar
|
||||
"<tr>"
|
||||
// yellow/gold
|
||||
"<td colspan=2 bgcolor=#f3c714>"
|
||||
"<b>"
|
||||
"%s"
|
||||
"</b>"
|
||||
"</td>"
|
||||
"</tr>\n"
|
||||
"<tr bgcolor=#0340fd>"
|
||||
@ -2874,16 +2888,32 @@ bool sendPageHelp ( TcpSocket *sock , HttpRequest *hr ) {
|
||||
|
||||
|
||||
sb.safePrintf(
|
||||
" <tr> "
|
||||
" <td style=padding-bottom:12px;> </td>"
|
||||
" <td style=padding-bottom:12px;> </td>"
|
||||
" </tr>"
|
||||
""
|
||||
// " <tr> "
|
||||
// " <td style=padding-bottom:12px;> </td>"
|
||||
// " <td style=padding-bottom:12px;> </td>"
|
||||
// " </tr>"
|
||||
// ""
|
||||
|
||||
"</table>"
|
||||
|
||||
"<br><br><br>"
|
||||
|
||||
"<table width=650px "
|
||||
"cellpadding=5 cellspacing=0 border=0>"
|
||||
|
||||
// yellow/gold bar
|
||||
"<tr>"
|
||||
"<td colspan=2 bgcolor=#f3c714>"
|
||||
"<b>"
|
||||
"Boolean Queries"
|
||||
"</b>"
|
||||
"</td>"
|
||||
"</tr>\n"
|
||||
|
||||
|
||||
"<tr bgcolor=#0340fd>"
|
||||
""
|
||||
" <th><font color=33dcff>Boolean Search</font></th>"
|
||||
" <th><font color=33dcff>Example Query</font></th>"
|
||||
" <th><font color=33dcff>Description</font></th>"
|
||||
""
|
||||
" </tr>"
|
||||
|
23
Query.cpp
23
Query.cpp
@ -3295,6 +3295,17 @@ static bool s_isInitialized = false;
|
||||
// 3rd field = m_hasColon
|
||||
struct QueryField g_fields[] = {
|
||||
|
||||
{"gbfieldmatch",
|
||||
FIELD_GBFIELDMATCH,
|
||||
true,
|
||||
"gbfieldmatch:strings.vendor:\"My Vendor Inc.\"",
|
||||
"Matches all the meta tag or JSON or XML fields that have "
|
||||
"the name \"strings.vendor\" and contain the exactly provided "
|
||||
"value, in this case, <i>My Vendor Inc.</i>. This is case "
|
||||
"sensitive and includes punctuation, so it's exact match.",
|
||||
"Advanced Query Operators",
|
||||
QTF_BEGINNEWTABLE },
|
||||
|
||||
{"url",
|
||||
FIELD_URL,
|
||||
true,
|
||||
@ -3304,7 +3315,6 @@ struct QueryField g_fields[] = {
|
||||
NULL,
|
||||
0 },
|
||||
|
||||
|
||||
{"ext",
|
||||
FIELD_EXT,
|
||||
true,
|
||||
@ -3843,17 +3853,6 @@ struct QueryField g_fields[] = {
|
||||
NULL,
|
||||
0},
|
||||
|
||||
{"gbfieldmatch",
|
||||
FIELD_GBFIELDMATCH,
|
||||
true,
|
||||
"gbfieldmatch:strings.vendor:\"My Vendor Inc.\"",
|
||||
"Matches all the meta tag or JSON or XML fields that have "
|
||||
"the name \"strings.vendor\" and contain the exactly provided "
|
||||
"value, in this case, <i>My Vendor Inc.</i>. This is case "
|
||||
"sensitive, so it's exact match.",
|
||||
NULL,
|
||||
0 },
|
||||
|
||||
|
||||
{"gbdocspiderdate",
|
||||
FIELD_GENERIC,
|
||||
|
Reference in New Issue
Block a user