
Package ca.uhn.fhir.jpa.model.search
Class HibernateSearchIndexWriter
java.lang.Object
ca.uhn.fhir.jpa.model.search.HibernateSearchIndexWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic HibernateSearchIndexWriter
forRoot
(ca.uhn.fhir.context.FhirContext theFhirContext, ModelConfig theModelConfig, org.hibernate.search.engine.backend.document.DocumentElement theDocument) org.hibernate.search.engine.backend.document.DocumentElement
getSearchParamIndexNode
(String theSearchParamName, String theIndexType) void
writeDateIndex
(String theSearchParam, ca.uhn.fhir.jpa.model.search.DateSearchIndexData theValue) void
writeNumberIndex
(String theParamName, Collection<BigDecimal> theNumberValueCollection) void
writeQuantityIndex
(String theSearchParam, Collection<ca.uhn.fhir.jpa.model.search.QuantitySearchIndexData> theValueCollection) void
writeReferenceIndex
(String theSearchParam, String theValue) void
writeStringIndex
(String theSearchParam, String theValue) void
writeTokenIndex
(String theSearchParam, org.hl7.fhir.instance.model.api.IBaseCoding theValue) void
writeUriIndex
(String theParamName, Collection<String> theUriValueCollection)
-
Field Details
-
IDX_STRING_NORMALIZED
- See Also:
-
IDX_STRING_EXACT
- See Also:
-
IDX_STRING_TEXT
- See Also:
-
IDX_STRING_LOWER
- See Also:
-
NESTED_SEARCH_PARAM_ROOT
- See Also:
-
SEARCH_PARAM_ROOT
- See Also:
-
QTY_PARAM_NAME
- See Also:
-
QTY_CODE
- See Also:
-
QTY_SYSTEM
- See Also:
-
QTY_VALUE
- See Also:
-
QTY_CODE_NORM
- See Also:
-
QTY_VALUE_NORM
- See Also:
-
URI_VALUE
- See Also:
-
NUMBER_VALUE
- See Also:
-
-
Method Details
-
getSearchParamIndexNode
public org.hibernate.search.engine.backend.document.DocumentElement getSearchParamIndexNode(String theSearchParamName, String theIndexType) -
forRoot
public static HibernateSearchIndexWriter forRoot(ca.uhn.fhir.context.FhirContext theFhirContext, ModelConfig theModelConfig, org.hibernate.search.engine.backend.document.DocumentElement theDocument) -
writeStringIndex
-
writeTokenIndex
public void writeTokenIndex(String theSearchParam, org.hl7.fhir.instance.model.api.IBaseCoding theValue) -
writeReferenceIndex
-
writeDateIndex
public void writeDateIndex(String theSearchParam, ca.uhn.fhir.jpa.model.search.DateSearchIndexData theValue) -
writeQuantityIndex
public void writeQuantityIndex(String theSearchParam, Collection<ca.uhn.fhir.jpa.model.search.QuantitySearchIndexData> theValueCollection) -
writeUriIndex
-
writeNumberIndex
-