Java 类org.hibernate.search.annotations.Analyze 实例源码

项目:CoCoTemp    文件:User.java   
/**
 * 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;
}
项目:UMLS-Terminology-Server    文件:TypeKeyValueJpa.java   
/**
 * Returns the id.
 *
 * @return the id
 */
/* see superclass */
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
@Override
public Long getId() {
  return id;
}
项目:UMLS-Terminology-Server    文件:TrackingRecordJpa.java   
@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;
}
项目:openyu-commons    文件:DogPoImpl.java   
@Type(type = "org.openyu.commons.entity.usertype.AuditEntityUserType")
@Column(name = "audit", length = 570)
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = AuditEntityBridge.class)
public AuditEntity getAudit() {
    return audit;
}
项目:UMLS-Terminology-Server    文件:WorklistJpa.java   
@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;
}
项目:UMLS-Terminology-Server    文件:CodeRelationshipJpa.java   
/**
 * Returns the to term. For JAXB.
 *
 * @return the to term
 */
@Fields({
    @Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO),
    @Field(name = "toNameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getToName() {
  return to == null ? null : to.getName();
}
项目:UMLS-Terminology-Server    文件:AbstractChecklist.java   
@Override
@Fields({
    @Field(name = "name", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "noStopWord"), bridge = @FieldBridge(impl = SplitUnderscoreBridge.class)),
    @Field(name = "nameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getName() {
  return name;
}
项目:UMLS-Terminology-Server    文件:ProjectJpa.java   
@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;
}
项目:UMLS-Terminology-Server    文件:ProjectJpa.java   
@XmlJavaTypeAdapter(UserRoleMapAdapter.class)
@Fields({
    @Field(bridge = @FieldBridge(impl = UserRoleBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO),
    @Field(name = "userAnyRole", bridge = @FieldBridge(impl = UserMapUserNameBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO)
})
@Override
public Map<User, UserRole> getUserRoleMap() {
  if (userRoleMap == null) {
    userRoleMap = new HashMap<>();
  }
  return userRoleMap;
}
项目:UMLS-Terminology-Server    文件:ConceptRelationshipJpa.java   
@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;
}
项目:UMLS-Terminology-Server    文件:CodeTreePositionJpa.java   
/**
 * 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();
}
项目:UMLS-Terminology-Server    文件:WorklistNoteJpa.java   
/**
 * Returns the worklist id.
 *
 * @return the worklist id
 */
@XmlElement
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public Long getWorklistId() {
  return (worklist != null) ? worklist.getId() : 0;
}
项目:UMLS-Terminology-Server    文件:RelationshipIdentityJpa.java   
@Override
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public String getIdentityCode() {
  return additionalRelationshipType + fromId + fromTerminology + fromType
      + relationshipType + terminology + terminologyId + toId + toTerminology
      + toType;
}
项目:UMLS-Terminology-Server    文件:AtomJpa.java   
@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;
}
项目:infinispan-avro    文件:SearchMappingProviderImpl.java   
@Override
public void defineMappings(Cache cache, SearchMapping searchMapping) {
    searchMapping.entity(GenericData.Record.class)
            .indexed()
            .classBridgeInstance(new ValueWrapperFieldBridge())
            .norms(Norms.NO)
            .analyze(Analyze.NO)
            .store(Store.NO);
}
项目:UMLS-Terminology-Server    文件:LexicalClassJpa.java   
/**
 * 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;
}
项目:UMLS-Terminology-Server    文件:ConceptTreePositionJpa.java   
/**
 * 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();
}
项目:UMLS-Terminology-Server    文件:UserJpa.java   
@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;
}
项目:UMLS-Terminology-Server    文件:CodeRelationshipJpa.java   
@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;
}
项目:UMLS-Terminology-Server    文件:ComponentInfoRelationshipJpa.java   
/**
 * Returns the from name.
 *
 * @return the from name
 */
@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 fromName;
}
项目:UMLS-Terminology-Server    文件:DescriptorNoteJpa.java   
/**
 * Returns the descriptor id.
 *
 * @return the descriptor id
 */
@XmlElement
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public Long getDescriptorId() {
  return (descriptor != null) ? descriptor.getId() : 0;
}
项目:UMLS-Terminology-Server    文件:AtomRelationshipJpa.java   
@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;
}
项目:UMLS-Terminology-Server    文件:DescriptorTreePositionJpa.java   
/**
 * Returns the node id. For JAXB.
 *
 * @return the node id
 */
@XmlElement
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public Long getNodeId() {
  return node == null ? null : node.getId();
}
项目:openyu-commons    文件:SeqLocaleNameEntitySupporter.java   
@XmlJavaTypeAdapter(LocaleXmlAdapter.class)
@Column(name = "locale", length = 20)
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = LocaleStringBridge.class)
public Locale getLocale()
{
    return locale.getLocale();
}
项目:UMLS-Terminology-Server    文件:AtomTreePositionJpa.java   
/**
 * 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();
}
项目:bookManager    文件:Book.java   
@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
@Basic
public String getAuthor() {
    return author;
}
项目:bookManager    文件:Book.java   
@Basic
@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
public String getTitle() {
    return title;
}
项目:bookManager    文件:Book.java   
@Basic
@Field(analyze = Analyze.YES)
public boolean isAvailable() {
    return available;
}
项目:bookManager    文件:Book.java   
@Temporal(TemporalType.DATE)
@Field(analyze = Analyze.NO)
@DateBridge(resolution = Resolution.DAY)
public Date getPublished() {
    return published;
}
项目:bookManager    文件:Book.java   
@Basic
@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
public String getDescription() {
    return description;
}
项目:bookManager    文件:Book.java   
@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
@Basic
public String getGenre() {
    return genre;
}
项目:bookManager    文件:Book.java   
@Basic
@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
public String getLang() {
    return lang;
}
项目:bookManager    文件:Book.java   
@Basic
@Analyzer(definition = "custom")
@Field(analyze = Analyze.YES)
public String getIsbn() {
    return isbn;
}
项目:bookManager    文件:Book.java   
@Field(analyze = Analyze.YES)
@Analyzer(definition = "custom")
@Basic
public String getLocation() {
    return location;
}
项目:UMLS-Terminology-Server    文件:AbstractProcessInfo.java   
/**
 * Returns the project id. For JPA and JAXB.
 *
 * @return the project id
 */
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public Long getProjectId() {
  return project == null ? null : project.getId();
}
项目:UMLS-Terminology-Server    文件:TypeKeyValueJpa.java   
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
@Override
public String getLastModifiedBy() {
  return lastModifiedBy;
}
项目:UMLS-Terminology-Server    文件:WorkflowConfigJpa.java   
@Override
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public String getLastModifiedBy() {
  return lastModifiedBy;
}
项目:UMLS-Terminology-Server    文件:LogEntryJpa.java   
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
@Override
public Date getLastModified() {
  return lastModified;
}
项目:UMLS-Terminology-Server    文件:WorkflowConfigJpa.java   
@FieldBridge(impl = EnumBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
@Override
public QueryStyle getQueryStyle() {
  return queryStyle;
}
项目:UMLS-Terminology-Server    文件:LogEntryJpa.java   
@Override
@FieldBridge(impl = LongBridge.class)
@Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO)
public Long getObjectId() {
  return objectId;
}