Class SearchExclusions
java.lang.Object
io.fluxzero.common.search.SearchExclusions
Sparse field exclusions for text search, encoded as ordinary internal document metadata.
The binary document format and retained property values remain unchanged. Documents written before this
information was available retain summary-based matching until they are reindexed from their typed values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringReserved metadata key mapping concrete, escaped document paths totrue. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTo(Map<Document.Entry, List<Document.Path>> entries, Collection<String> excludedPaths) Adds excluded raw paths using the existing binary document metadata representation.static booleanisMetadataPath(Document.Path path) Returns whether a path belongs to the internal exclusion metadata rather than user content.read(Map<Document.Entry, List<Document.Path>> entries) Reads concrete excluded paths without reconstructing the document body or all of its metadata.
-
Field Details
-
METADATA_KEY
Reserved metadata key mapping concrete, escaped document paths totrue.- See Also:
-
-
Method Details
-
isMetadataPath
Returns whether a path belongs to the internal exclusion metadata rather than user content. -
addTo
public static void addTo(Map<Document.Entry, List<Document.Path>> entries, Collection<String> excludedPaths) Adds excluded raw paths using the existing binary document metadata representation. -
read
Reads concrete excluded paths without reconstructing the document body or all of its metadata.
-