本文整理汇总了Java中org.hibernate.search.annotations.Analyze.YES属性的典型用法代码示例。如果您正苦于以下问题:Java Analyze.YES属性的具体用法?Java Analyze.YES怎么用?Java Analyze.YES使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.hibernate.search.annotations.Analyze
的用法示例。
在下文中一共展示了Analyze.YES属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getUsername
/**
* Gets username.
*
* @return the username
*/
@Field(index = org.hibernate.search.annotations.Index.YES, analyze = Analyze.YES, store = Store.NO)
@Analyzer(impl = KeywordAnalyzer.class)
public String getUsername()
{
return username;
}
示例2: 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();
}
示例3: getAlternateTerminologyIds
@Override
@FieldBridge(impl = MapKeyValueToCsvBridge.class)
@Field(name = "alternateTerminologyIds", index = Index.YES, analyze = Analyze.YES, store = Store.NO)
public Map<String, String> getAlternateTerminologyIds() {
if (alternateTerminologyIds == null) {
alternateTerminologyIds = new HashMap<>(2);
}
return alternateTerminologyIds;
}
示例4: getName
@Override
@Fields({
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO),
@Field(name = "nameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getName() {
return name;
}
示例5: getToName
/**
* Returns the to term. For JAXB.
*
* @return the to term
*/
@Fields({
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO, analyzer = @Analyzer(definition = "noStopWord")),
@Field(name = "toNameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
@Override
public String getToName() {
return toName;
}
示例6: getName
@Override
@Fields({
@Field(name = "name", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "noStopWord")),
@Field(name = "nameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO),
@Field(name = "edgeNGramName", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "autocompleteEdgeAnalyzer")),
@Field(name = "nGramName", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "autocompleteNGramAnalyzer"))
})
public String getName() {
return name;
}
示例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)
})
@Override
public String getFromName() {
return fromName;
}
示例8: getProjectRoleMap
@XmlJavaTypeAdapter(ProjectRoleMapAdapter.class)
@Fields({
@Field(bridge = @FieldBridge(impl = ProjectRoleBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO),
@Field(name = "projectAnyRole", bridge = @FieldBridge(impl = MapIdBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO)
})
@Override
public Map<Project, UserRole> getProjectRoleMap() {
if (projectRoleMap == null) {
projectRoleMap = new HashMap<>();
}
return projectRoleMap;
}
示例9: 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();
}
示例10: getReviewers
@Fields({
@Field(bridge = @FieldBridge(impl = CollectionToCsvBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO),
@Field(name = "reviewersSort", bridge = @FieldBridge(impl = MinValueBridge.class), index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
@Override
public List<String> getReviewers() {
if (reviewers == null) {
reviewers = new ArrayList<>();
}
return reviewers;
}
示例11: getNormalizedName
/**
* Returns the normalized string.
*
* @return the normalized string
*/
@Override
@Fields({
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO),
@Field(name = "normalizedNameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
@Analyzer(definition = "noStopWord")
public String getNormalizedName() {
return normalizedName;
}
示例12: getName
@Override
@Fields({
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO, analyzer = @Analyzer(definition = "noStopWord")),
@Field(name = "nameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getName() {
return name;
}
示例13: getComponentIds
@Field(bridge = @FieldBridge(impl = CollectionToCsvBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO)
@Override
public Set<Long> getComponentIds() {
if (componentIds == null) {
componentIds = new HashSet<>();
}
return componentIds;
}
示例14: getIndexedData
@Fields({
@Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO),
@Field(name = "indexedDataSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
@Override
public String getIndexedData() {
return indexedData;
}
示例15: getAuthor
@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
@Basic
public String getAuthor() {
return author;
}