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

项目:owsi-core-parent    文件:GenericListItem.java   
@Override
@Fields({
    @Field(name = CODE_FIELD_NAME, analyzer = @Analyzer(definition = HibernateSearchAnalyzer.KEYWORD)),
    @Field(name = CODE_SORT_FIELD_NAME, analyzer = @Analyzer(definition = HibernateSearchAnalyzer.TEXT_SORT))
})
@SortableField(forField = CODE_SORT_FIELD_NAME)
public String getCode() {
    return null;
}
项目:UMLS-Terminology-Server    文件:TypeKeyValueJpa.java   
@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;
}
项目: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    文件:UserJpa.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    文件: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    文件:ConceptRelationshipJpa.java   
/**
 * 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();
}
项目:UMLS-Terminology-Server    文件:ConceptRelationshipJpa.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    文件: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    文件:ComponentInfoRelationshipJpa.java   
/**
 * Returns the to name.
 *
 * @return the to name
 */
@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 toName;
}
项目:UMLS-Terminology-Server    文件:DescriptorRelationshipJpa.java   
/**
 * 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();
}
项目:UMLS-Terminology-Server    文件:DescriptorRelationshipJpa.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    文件:AtomSubsetMemberJpa.java   
/**
 * Returns the member name. For JAXB.
 *
 * @return the member name
 */
@Fields({
    @Field(index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "noStopWord")),
    @Field(name = "memberNameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getMemberName() {
  return member == null ? null : member.getName();
}
项目:UMLS-Terminology-Server    文件:MappingJpa.java   
/**
 * 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;
}
项目:UMLS-Terminology-Server    文件:MappingJpa.java   
/**
 * 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;
}
项目:UMLS-Terminology-Server    文件:ConceptSubsetMemberJpa.java   
/**
 * Returns the member name. For JAXB.
 *
 * @return the member name
 */
@Fields({
    @Field(index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "noStopWord")),
    @Field(name = "memberNameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public String getMemberName() {
  return member == null ? null : member.getName();
}
项目: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    文件: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;
}
项目:UMLS-Terminology-Server    文件:DescriptorTreePositionJpa.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    文件: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    文件:CodeRelationshipJpa.java   
/**
 * 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();
}
项目: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    文件: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();
}
项目:UMLS-Terminology-Server    文件:MapSetJpa.java   
@Override
@Fields({
    @Field(name = "nameSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO),
    @Field(index = Index.YES, analyze = Analyze.YES, store = Store.NO)
})
public String getName() {
  return name;
}
项目:UMLS-Terminology-Server    文件:AbstractAtomClass.java   
@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;
}
项目:UMLS-Terminology-Server    文件:AtomRelationshipJpa.java   
/**
 * Returns the from name. For JAXB.
 *
 * @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 from == null ? null : from.getName();
}
项目:UMLS-Terminology-Server    文件:AtomRelationshipJpa.java   
/**
 * Returns the to name.
 *
 * @return the to name
 */
@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    文件: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    文件:WorklistJpa.java   
@Fields({
    @Field(bridge = @FieldBridge(impl = CollectionToCsvBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO),
    @Field(name = "authorsSort", bridge = @FieldBridge(impl = MinValueBridge.class), index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
@Override
public List<String> getAuthors() {
  if (authors == null) {
    authors = new ArrayList<>();
  }
  return authors;
}
项目:UMLS-Terminology-Server    文件:WorklistJpa.java   
@Fields({
    @Field(bridge = @FieldBridge(impl = MaxStateHistoryBridge.class), index = Index.YES, analyze = Analyze.YES, store = Store.NO),
    @Field(name = "workflowStateSort", bridge = @FieldBridge(impl = MaxStateHistoryBridge.class), index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
  @Override
  public Map<String, Date> getWorkflowState() {
    return getWorkflowStateHistory();
  }
项目: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    文件:TrackingRecordJpa.java   
@Override
@Fields({
    @Field(index = Index.YES, analyze = Analyze.NO, store = Store.NO, bridge = @FieldBridge(impl = LongBridge.class)),
    @Field(name = "clusterIdSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO)
})
public Long getClusterId() {
  return clusterId;
}
项目:UMLS-Terminology-Server    文件:TrackingRecordJpa.java   
@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;
}
项目: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    文件:SourceDataJpa.java   
/**
 * Gets the name.
 *
 * @return the name
 */
@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 this.name;
}
项目:UMLS-Terminology-Server    文件:ReportJpa.java   
/**
 * Gets the name.
 * 
 * @return the name
 */
@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),
})
@Override
public String getName() {
  return name;
}
项目:UMLS-Terminology-Server    文件:AbstractProcessInfo.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    文件:SourceDataFileJpa.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 this.name;
}
项目:sdcct    文件:SdcctResourceImpl.java   
@Column(name = DbColumnNames.CONTENT, nullable = false)
@Fields({ @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.EDGE_NGRAM), boost = @Boost(0.75F), name = DbFieldNames.CONTENT_EDGE_NGRAM),
    @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.LOWERCASE), name = DbFieldNames.CONTENT_LOWERCASE),
    @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.NGRAM), boost = @Boost(0.5F), name = DbFieldNames.CONTENT_NGRAM),
    @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.PHONETIC), boost = @Boost(0.25F), name = DbFieldNames.CONTENT_PHONETIC) })
@Lob
@Override
public String getContent() {
    return this.content;
}
项目:sdcct    文件:SdcctResourceImpl.java   
@Column(name = DbColumnNames.TEXT)
@Fields({ @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.EDGE_NGRAM), boost = @Boost(0.75F), name = DbFieldNames.TEXT_EDGE_NGRAM),
    @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.LOWERCASE), name = DbFieldNames.TEXT_LOWERCASE),
    @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.NGRAM), boost = @Boost(0.5F), name = DbFieldNames.TEXT_NGRAM),
    @Field(analyzer = @Analyzer(definition = DbAnalyzerNames.PHONETIC), boost = @Boost(0.25F), name = DbFieldNames.TEXT_PHONETIC) })
@Lob
@Nullable
@Override
public String getText() {
    return this.text;
}