Package ca.uhn.fhir.jpa.model.search
Class HSearchIndexWriter
java.lang.Object
ca.uhn.fhir.jpa.model.search.HSearchIndexWriter
-
Field Summary
Modifier 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
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 HSearchIndexWriter
forRoot
(StorageSettings theStorageSettings, org.hibernate.search.engine.backend.document.DocumentElement theDocument) org.hibernate.search.engine.backend.document.DocumentElement
getSearchParamIndexNode
(String theSearchParamName, String theIndexType) void
writeBasicStringFields
(org.hibernate.search.engine.backend.document.DocumentElement theIndexNode, String theValue) void
writeCompositeIndex
(String ignoredParamName, Set<CompositeSearchIndexData> theCompositeSearchIndexData) void
writeDateFields
(org.hibernate.search.engine.backend.document.DocumentElement dateIndexNode, DateSearchIndexData theValue) void
writeDateIndex
(String theSearchParam, DateSearchIndexData theValue) void
writeNumberFields
(org.hibernate.search.engine.backend.document.DocumentElement numberNode, BigDecimal numberSearchIndexValue) void
writeNumberIndex
(String theParamName, Collection<BigDecimal> theNumberValueCollection) void
writeQuantityFields
(org.hibernate.search.engine.backend.document.DocumentElement nestedQtyNode, QuantitySearchIndexData theValue) void
writeQuantityIndex
(String theSearchParam, QuantitySearchIndexData theValue) void
writeReferenceIndex
(String theSearchParam, String theValue) void
writeStringIndex
(String theSearchParam, String theValue) void
writeTokenFields
(org.hibernate.search.engine.backend.document.DocumentElement theDocumentElement, org.hl7.fhir.instance.model.api.IBaseCoding theValue) void
writeTokenIndex
(String theSearchParam, org.hl7.fhir.instance.model.api.IBaseCoding theValue) void
writeUriFields
(org.hibernate.search.engine.backend.document.DocumentElement uriNode, String uriSearchIndexValue) void
writeUriIndex
(String theParamName, Collection<String> theUriValueCollection)
-
Field Details
-
NESTED_SEARCH_PARAM_ROOT
- See Also:
-
SEARCH_PARAM_ROOT
- See Also:
-
INDEX_TYPE_STRING
- See Also:
-
IDX_STRING_NORMALIZED
- See Also:
-
IDX_STRING_EXACT
- See Also:
-
IDX_STRING_TEXT
- See Also:
-
IDX_STRING_LOWER
- See Also:
-
INDEX_TYPE_TOKEN
- See Also:
-
TOKEN_CODE
- See Also:
-
TOKEN_SYSTEM
- See Also:
-
TOKEN_SYSTEM_CODE
- See Also:
-
INDEX_TYPE_QUANTITY
- See Also:
-
VALUE_FIELD
- 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:
-
DATE_LOWER_ORD
- See Also:
-
DATE_LOWER
- See Also:
-
DATE_UPPER_ORD
- See Also:
-
DATE_UPPER
- See Also:
-
-
Method Details
-
getSearchParamIndexNode
public org.hibernate.search.engine.backend.document.DocumentElement getSearchParamIndexNode(String theSearchParamName, String theIndexType) -
forRoot
public static HSearchIndexWriter forRoot(StorageSettings theStorageSettings, org.hibernate.search.engine.backend.document.DocumentElement theDocument) -
writeStringIndex
-
writeBasicStringFields
public void writeBasicStringFields(org.hibernate.search.engine.backend.document.DocumentElement theIndexNode, String theValue) -
writeTokenIndex
public void writeTokenIndex(String theSearchParam, org.hl7.fhir.instance.model.api.IBaseCoding theValue) -
writeTokenFields
public void writeTokenFields(org.hibernate.search.engine.backend.document.DocumentElement theDocumentElement, org.hl7.fhir.instance.model.api.IBaseCoding theValue) -
writeReferenceIndex
-
writeDateIndex
-
writeDateFields
public void writeDateFields(org.hibernate.search.engine.backend.document.DocumentElement dateIndexNode, DateSearchIndexData theValue) -
writeQuantityIndex
-
writeQuantityFields
public void writeQuantityFields(org.hibernate.search.engine.backend.document.DocumentElement nestedQtyNode, QuantitySearchIndexData theValue) -
writeUriIndex
-
writeUriFields
public void writeUriFields(org.hibernate.search.engine.backend.document.DocumentElement uriNode, String uriSearchIndexValue) -
writeNumberIndex
-
writeNumberFields
public void writeNumberFields(org.hibernate.search.engine.backend.document.DocumentElement numberNode, BigDecimal numberSearchIndexValue) -
writeCompositeIndex
public void writeCompositeIndex(String ignoredParamName, Set<CompositeSearchIndexData> theCompositeSearchIndexData) - Parameters:
ignoredParamName
- unused - for consistent apitheCompositeSearchIndexData
- extracted index data for this sp
-