@Fields({ @Field(name = "givenNameExact", analyzer = @Analyzer(definition = LuceneAnalyzers.EXACT_ANALYZER), boost = @Boost(8f)), @Field(name = "givenNameStart", analyzer = @Analyzer(definition = LuceneAnalyzers.START_ANALYZER), boost = @Boost(4f)), private String prefix; @Fields({ @Field(name = "middleNameExact", analyzer = @Analyzer(definition = LuceneAnalyzers.EXACT_ANALYZER), boost = @Boost(4f)), @Field(name = "middleNameStart", analyzer = @Analyzer(definition = LuceneAnalyzers.START_ANALYZER), boost = @Boost(2f)), @Fields({ @Field(name = "familyNameExact", analyzer = @Analyzer(definition = LuceneAnalyzers.EXACT_ANALYZER), boost = @Boost(8f)), @Field(name = "familyNameStart", analyzer = @Analyzer(definition = LuceneAnalyzers.START_ANALYZER), boost = @Boost(4f)), private String familyName; @Fields({ @Field(name = "familyName2Exact", analyzer = @Analyzer(definition = LuceneAnalyzers.EXACT_ANALYZER), boost = @Boost(4f)), @Field(name = "familyName2Start", analyzer = @Analyzer(definition = LuceneAnalyzers.START_ANALYZER), boost = @Boost(2f)),
@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; }
private PersonAttributeType attributeType; @Fields({ @Field(name = "valuePhrase", analyzer = @Analyzer(definition = LuceneAnalyzers.PHRASE_ANALYZER), boost = @Boost(8f)), @Field(name = "valueExact", analyzer = @Analyzer(definition = LuceneAnalyzers.EXACT_ANALYZER), boost = @Boost(4f)),
@Fields(value = { @Field(name="fullContentCS",index=Index.YES, analyze=Analyze.YES, analyzer = @Analyzer(definition="KeywordsSplitter"), store=Store.NO), @Field(name="fullContentNCS",index=Index.YES, analyze=Analyze.YES,analyzer = @Analyzer(definition="toLowerCase"), store=Store.NO) }) @Column(name = "pub_fullcontent") public String getPubFullcontent() { return this.pubFullcontent; }
@Fields({ @Field(name = "inputString", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "noStopWord") ), @Field(name = "inputStringSort", index = Index.YES, analyze = Analyze.NO, store = Store.NO) }) @Override public String getInputString() { return inputString; }
@Fields(value = { @Field(name="abstractCS",index=Index.YES, analyze=Analyze.YES, analyzer = @Analyzer(definition="KeywordsSplitter"), store=Store.NO), @Field(name="abstractNCS",index=Index.YES, analyze=Analyze.YES,analyzer = @Analyzer(definition="toLowerCase"), store=Store.NO) }) @Column(name = "pub_abstract") public String getPubAbstract() { return this.pubAbstract; }
@Fields(value = { @Field(name="titleCS",index=Index.YES, analyze=Analyze.YES, analyzer = @Analyzer(definition="KeywordsSplitter"), store=Store.NO), @Field(name="titleNCS",index=Index.YES, analyze=Analyze.YES,analyzer = @Analyzer(definition="toLowerCase"), store=Store.NO) }) @Column(name = "pub_title", length = 65535) public String getPubTitle() { return this.pubTitle; }
@Fields(value = { @Field(name="journalCS",index=Index.YES, analyze=Analyze.YES, analyzer = @Analyzer(definition="KeywordsSplitter"), store=Store.NO), @Field(name="journalNCS",index=Index.YES, analyze=Analyze.YES,analyzer = @Analyzer(definition="toLowerCase"), store=Store.NO) }) @Column(name = "pub_journal", length = 500) public String getPubJournal() { return this.pubJournal; }
private Patient patient; @Fields({ @Field(name = "identifierPhrase", analyzer = @Analyzer(definition = LuceneAnalyzers.PHRASE_ANALYZER), boost = @Boost(8f)), @Field(name = "identifierExact", analyzer = @Analyzer(definition = LuceneAnalyzers.EXACT_ANALYZER), boost = @Boost(4f)),
@Fields(value = { @Field(name="authorsCS",index=Index.YES, analyze=Analyze.YES, analyzer = @Analyzer(definition="KeywordsSplitter"), store=Store.NO), @Field(name="authorsNCS",index=Index.YES, analyze=Analyze.YES,analyzer = @Analyzer(definition="toLowerCase"), store=Store.NO) }) @Column(name = "pub_authors", length = 65535) public String getPubAuthors() { return this.pubAuthors; }
@Fields(value = { @Field(name="notesCS",index=Index.YES, analyze=Analyze.YES, analyzer = @Analyzer(definition="KeywordsSplitter"), store=Store.NO), @Field(name="notesNCS",index=Index.YES, analyze=Analyze.YES,analyzer = @Analyzer(definition="toLowerCase"), store=Store.NO) }) @Column(name = "pub_notes", length = 65535) public String getPubNotes() { return this.pubNotes; }
@Fields( { @Field(index=Index.YES, analyze=Analyze.NO, store=Store.NO), @Field(name = "keywordEdgeNGram_syn_synonym", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "keywordEdgeAnalyzer"), boost = @Boost(2)), @Field(name = "tokenEdgeNGram_syn_synonym", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "tokenEdgeAnalyzer")) }) @Column(name = "syn_synonym", nullable = false, length = 500) public String getSynSynonym() { return this.synSynonym; }
@Fields( { @Field(index=Index.YES, analyze=Analyze.NO, store=Store.NO), @Field(name = "keywordEdgeNGram_res_element", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "keywordEdgeAnalyzer"), boost = @Boost(2)), @Field(name = "tokenEdgeNGram_res_element", index = Index.YES, store = Store.NO, analyze = Analyze.YES, analyzer = @Analyzer(definition = "tokenEdgeAnalyzer")) }) @Column(name = "res_element", nullable = false, length = 500) public String getResElement() { return this.resElement; }
@Fields({ @Field(store = Store.YES), @Field(name = "summary_forSort", analyze = Analyze.NO, store = Store.YES) }) public String getSummary() { return summary; }
@Fields({ @Field(store = Store.YES), @Field(name = "summary_forSort", analyze = Analyze.NO, store = Store.YES) }) public String getSummary() { return summary; }
@Fields({ @Field, @Field(name = "htmlDescription_htmlStrip", analyzer = @Analyzer(definition = "htmlStrip")) }) public String getHtmlDescription() { return htmlDescription; }
@Fields({ @Field(store = Store.YES), @Field(name = "summary_forSort", analyze = Analyze.NO, store = Store.YES) }) @SortableField(forField = "summary_forSort") public String getSummary() { return summary; }
@Indexed public class Baz { @DocumentId private Integer id; @Fields({ @Field(analyze = Analyze.NO), @Field(analyze = Analyze.NO, name = "facet_value") }) @Facet(forField = "facet_value") private double value; }
@Indexed public class Qux { @DocumentId private Integer id; @Fields({ @Field(analyze = Analyze.NO), @Field(analyze = Analyze.NO, name = "facet_value") }) @Facets({ @Facet, @Facet(forField = "facet_value", encoding = FacetEncodingType.STRING) }) private double value; }
@Fields({ @Field, @Field(name = "mythology_stem", analyzer = @Analyzer(definition = "stemmer")), @Field(name = "mythology_ngram", analyzer = @Analyzer(definition = "ngram")), // This field must exist in order for tests to pass with the Elasticsearch integration... See HSEARCH-2534 @Field(name = "mythology_same_base_as_ngram", analyzer = @Analyzer(definition = "same_base_as_ngram")), @Field(name = "mythology_normalized", normalizer = @Normalizer(definition = "lower")) }) public String getMythology() { return mythology; }