Class ArticleElastic

java.lang.Object
com.bytedesk.kbase.article.ArticleElastic

public class ArticleElastic extends Object
  • Field Details

    • id

      private String id
    • title

      @Field(type=Text, analyzer="ik_max_word") private String title
    • content

      @Field(type=Text, analyzer="ik_max_word") private String content
    • summary

      @Field(type=Text) private String summary
    • tags

      @Field(type=Keyword) private List<String> tags
    • categoryId

      @Field(type=Keyword) private String categoryId
    • type

      @Field(type=Keyword) private String type
    • status

      @Field(type=Keyword) private String status
    • auditStatus

      @Field(type=Keyword) private String auditStatus
    • authorId

      @Field(type=Keyword) private String authorId
    • authorNickname

      @Field(type=Keyword) private String authorNickname
    • viewCount

      @Field(type=Long) private Long viewCount
    • likeCount

      @Field(type=Long) private Long likeCount
    • favoriteCount

      @Field(type=Long) private Long favoriteCount
    • commentCount

      @Field(type=Long) private Long commentCount
    • publishedAt

      @Field(type=Date) private LocalDateTime publishedAt
    • createdAt

      @Field(type=Date) private LocalDateTime createdAt
    • updatedAt

      @Field(type=Date) private LocalDateTime updatedAt
  • Constructor Details

    • ArticleElastic

      public ArticleElastic()