当前位置: 首页>>代码示例>>Java>>正文


Java Analyze.YES属性代码示例

本文整理汇总了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;
}
 
开发者ID:MTUHIDE,项目名称:CoCoTemp,代码行数:11,代码来源:User.java

示例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();
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:12,代码来源:AtomTreePositionJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:9,代码来源:MapSetJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:8,代码来源:ProjectJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:13,代码来源:MappingJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:10,代码来源:AtomJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:13,代码来源:MappingJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:12,代码来源:UserJpa.java

示例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();
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:12,代码来源:ConceptRelationshipJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:11,代码来源:WorklistJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:14,代码来源:LexicalClassJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:8,代码来源:AbstractAtomClass.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:8,代码来源:TrackingRecordJpa.java

示例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;
}
 
开发者ID:WestCoastInformatics,项目名称:UMLS-Terminology-Server,代码行数:8,代码来源:TrackingRecordJpa.java

示例15: getAuthor

@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
@Basic
public String getAuthor() {
	return author;
}
 
开发者ID:shilongdai,项目名称:bookManager,代码行数:6,代码来源:Book.java


注:本文中的org.hibernate.search.annotations.Analyze.YES属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。