8000 Lucene 创建/更新文章索引失败(空指针异常),导致发布/更新文章失败 · Issue #91 · rymcu/forest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Lucene 创建/更新文章索引失败(空指针异常),导致发布/更新文章失败 #91
Open
@ronger-x

Description

@ronger-x

问题代码定位:

// 草稿不更新索引
if (isUpdate) {
    log.info("更新文章索引,id={}", newArticle.getIdArticle());
    luceneService.updateArticle(newArticle.getIdArticle().toString());
} else {
    log.info("写入文章索引,id={}", newArticle.getIdArticle());
    luceneService.writeArticle(newArticle.getIdArticle().toString());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0