Class ModelSearchDocument
java.lang.Object
io.fluxzero.common.search.ModelSearchDocument
Preserves a Model's exact text-search summary across stores that expose only a tokenized search index.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanInternal summary storage is not a business field, including when nested inside a composed Graph.static SerializedDocumentpreserveSummary(SerializedDocument source) Keeps the original summary in the serialized document, including an explicitly empty search surface.static DocumentpreserveSummary(Document source) Keeps the summary with the entries so composition does not need to guess which values were excluded.static DocumentrestoreSummary(Document source) Restores the original summary while retaining all indexed facets, sortables and deserializable content.
-
Field Details
-
SUMMARY
Internal metadata, excluded from business state and ordinary text entries.- See Also:
-
-
Method Details
-
isSearchablePath
Internal summary storage is not a business field, including when nested inside a composed Graph. -
preserveSummary
Keeps the original summary in the serialized document, including an explicitly empty search surface. -
preserveSummary
-
restoreSummary
-