@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; }
@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; }
@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; }
@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; }
@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; }
/** * 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(); }
/** * 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(); }
/** * 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; }
/** * 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; }
/** * 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(); }
/** * 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; }
/** * 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; }
/** * 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(); }
@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; }
/** * 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; }
@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; }
@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; }
/** * 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(); }
/** * 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(); }
@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; }
@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(); }
@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; }
@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; }
@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; }
@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; }
/** * 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; }
/** * 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; }
@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; }
@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; }
@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; }