mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-08 22:07:56 +00:00
add host name to the search index
This commit is contained in:
parent
ab71b3823a
commit
0b12e872a3
@ -9,8 +9,10 @@ source hostPage
|
|||||||
sql_port = 3306 # optional, default is 3306
|
sql_port = 3306 # optional, default is 3306
|
||||||
|
|
||||||
sql_query = \
|
sql_query = \
|
||||||
SELECT hostPageId, metaTitle, metaDescription, metaKeywords, data, uri \
|
SELECT hostPage.hostPageId, hostPage.metaTitle, hostPage.metaDescription, hostPage.metaKeywords, hostPage.data, hostPage.uri, host.name \
|
||||||
FROM hostPage WHERE httpCode = 200
|
FROM hostPage \
|
||||||
|
JOIN host ON (host.hostId = hostPage.hostId) \
|
||||||
|
WHERE hostPage.httpCode = 200
|
||||||
|
|
||||||
sql_attr_uint = hostPageId
|
sql_attr_uint = hostPageId
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user