| | |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 搜索专题 |
| | |
| | | @Indexed |
| | | private String key; |
| | | private String systemId; |
| | | //专辑查询 |
| | | private SolrVideoSearchFilter albumQuery; |
| | | //全网搜查询 |
| | | private SolrVideoSearchFilter internetQuery; |
| | | //短视频 |
| | | private SolrShortVideoSearchFilter shortQuery; |
| | | |
| | | //查询条件的版本分布与系统分布 |
| | | private List<QueryConditionsContainer> containerList; |
| | | |
| | | //备注 |
| | | private String remarks; |
| | |
| | | this.systemId = systemId; |
| | | } |
| | | |
| | | public SolrVideoSearchFilter getAlbumQuery() { |
| | | return albumQuery; |
| | | } |
| | | |
| | | public void setAlbumQuery(SolrVideoSearchFilter albumQuery) { |
| | | this.albumQuery = albumQuery; |
| | | } |
| | | |
| | | public SolrVideoSearchFilter getInternetQuery() { |
| | | return internetQuery; |
| | | } |
| | | |
| | | public void setInternetQuery(SolrVideoSearchFilter internetQuery) { |
| | | this.internetQuery = internetQuery; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | |
| | | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | |
| | | public SolrShortVideoSearchFilter getShortQuery() { |
| | | return shortQuery; |
| | | } |
| | | |
| | | public void setShortQuery(SolrShortVideoSearchFilter shortQuery) { |
| | | this.shortQuery = shortQuery; |
| | | } |
| | | |
| | | public String getName() { |
| | |
| | | public void setColumn(Integer column) { |
| | | this.column = column; |
| | | } |
| | | |
| | | public List<QueryConditionsContainer> getContainerList() { |
| | | return containerList; |
| | | } |
| | | |
| | | public void setContainerList(List<QueryConditionsContainer> containerList) { |
| | | this.containerList = containerList; |
| | | } |
| | | |
| | | /** |
| | | * 搜索专题查询的条件 |
| | | */ |
| | | public static class QueryConditions { |
| | | //专辑查询 |
| | | private SolrVideoSearchFilter albumQuery; |
| | | //全网搜查询 |
| | | private SolrVideoSearchFilter internetQuery; |
| | | //短视频 |
| | | private SolrShortVideoSearchFilter shortQuery; |
| | | |
| | | |
| | | public QueryConditions(SolrVideoSearchFilter albumQuery, SolrVideoSearchFilter internetQuery, SolrShortVideoSearchFilter shortQuery) { |
| | | this.albumQuery = albumQuery; |
| | | this.internetQuery = internetQuery; |
| | | this.shortQuery = shortQuery; |
| | | } |
| | | |
| | | public SolrVideoSearchFilter getAlbumQuery() { |
| | | return albumQuery; |
| | | } |
| | | |
| | | public void setAlbumQuery(SolrVideoSearchFilter albumQuery) { |
| | | this.albumQuery = albumQuery; |
| | | } |
| | | |
| | | public SolrVideoSearchFilter getInternetQuery() { |
| | | return internetQuery; |
| | | } |
| | | |
| | | public void setInternetQuery(SolrVideoSearchFilter internetQuery) { |
| | | this.internetQuery = internetQuery; |
| | | } |
| | | |
| | | public SolrShortVideoSearchFilter getShortQuery() { |
| | | return shortQuery; |
| | | } |
| | | |
| | | public void setShortQuery(SolrShortVideoSearchFilter shortQuery) { |
| | | this.shortQuery = shortQuery; |
| | | } |
| | | } |
| | | |
| | | public static class QueryConditionsContainer { |
| | | private QueryConditions queryConditions; |
| | | private String detailSystemId; |
| | | private String channel; |
| | | private int minVersion; |
| | | |
| | | public QueryConditionsContainer(QueryConditions queryConditions, String detailSystemId, String channel, int minVersion) { |
| | | this.queryConditions = queryConditions; |
| | | this.detailSystemId = detailSystemId; |
| | | this.channel = channel; |
| | | this.minVersion = minVersion; |
| | | } |
| | | |
| | | public QueryConditionsContainer() { |
| | | |
| | | } |
| | | |
| | | public QueryConditions getQueryConditions() { |
| | | return queryConditions; |
| | | } |
| | | |
| | | public void setQueryConditions(QueryConditions queryConditions) { |
| | | this.queryConditions = queryConditions; |
| | | } |
| | | |
| | | public String getDetailSystemId() { |
| | | return detailSystemId; |
| | | } |
| | | |
| | | public void setDetailSystemId(String detailSystemId) { |
| | | this.detailSystemId = detailSystemId; |
| | | } |
| | | |
| | | public int getMinVersion() { |
| | | return minVersion; |
| | | } |
| | | |
| | | public void setMinVersion(int minVersion) { |
| | | this.minVersion = minVersion; |
| | | } |
| | | |
| | | public String getChannel() { |
| | | return channel; |
| | | } |
| | | |
| | | public void setChannel(String channel) { |
| | | this.channel = channel; |
| | | } |
| | | } |
| | | } |