mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
update
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ func ElasticsearchSimple(q string, size, from int) *ESSearchResult {
|
||||
func ElasticIndex(artc *Article) error {
|
||||
mapping := map[string]interface{}{
|
||||
"title": artc.Title,
|
||||
"content": artc.Content,
|
||||
"content": IgnoreHtmlTag(artc.Content),
|
||||
"slug": artc.Slug,
|
||||
"tags": artc.Tags,
|
||||
"create_time": artc.CreateTime,
|
||||
|
||||
Reference in New Issue
Block a user