本文整理汇总了Java中org.hibernate.search.annotations.Index.YES属性的典型用法代码示例。如果您正苦于以下问题:Java Index.YES属性的具体用法?Java Index.YES怎么用?Java Index.YES使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.hibernate.search.annotations.Index
的用法示例。
在下文中一共展示了Index.YES属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSiteName
/**
* Gets site name.
*
* @return the site name
*/
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO)
@Column(name = "site_name")
public String getSiteName()
{
return siteName;
}
示例2: getSiteLatitude
/**
* Gets site latitude.
*
* @return the site latitude
*/
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO)
@FieldBridge(impl = DoubleBridge.class)
@Column(name = "site_latitude")
public double getSiteLatitude()
{
return siteLatitude;
}
示例3: getSiteDescription
/**
* Gets the site description.
*
* @return the site description.
*/
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO)
@Column(name = "site_description")
public String getSiteDescription()
{
return siteDescription;
}
示例4: getSiteLongitude
/**
* Gets site longitude.
*
* @return the site longitude
*/
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO)
@FieldBridge(impl = DoubleBridge.class)
@Column(name = "site_longitude")
public double getSiteLongitude()
{
return siteLongitude;
}
示例5: getKey
@Fields({
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO),
@Field(name = "keySort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
@Override
public String getKey() {
return key;
}
示例6: getNodeName
/**
* Returns the node name. For JAXB.
*
* @return the node name
*/
@Fields({
@Field(name = "nodeName", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "noStopWord")),
@Field(name = "nodeNameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getNodeName() {
return node == null ? null : node.getName();
}
示例7: getFromName
/**
* Returns the from term. For JAXB.
*
* @return the from term
*/
@Fields({
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO, analyzer = @Analyzer(definition = "noStopWord")),
@Field(name = "fromNameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getFromName() {
return from == null ? null : from.getName();
}
示例8: getProjectId
/**
* Returns the project id. For JAXB
*
* @return the project id
*/
@XmlElement
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public Long getProjectId() {
return (project != null) ? project.getId() : 0;
}
示例9: getId
@Override
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.YES)
public Long getId() {
return id;
}
示例10: getDescription
@Override
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO)
public String getDescription() {
return description;
}
示例11: getGroup
@Override
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public String getGroup() {
return group;
}
示例12: getLanguage
@Override
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public String getLanguage() {
return language;
}
示例13: getVersion
@Version
@Column(name = "version")
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
public Integer getVersion() {
return version;
}
示例14: isFinished
@Override
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public boolean isFinished() {
return finished;
}
示例15: getToType
@Override
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public IdType getToType() {
return toType;
}