Record Class SearchMatches
java.lang.Object
java.lang.Record
io.meeds.social.search.model.SearchMatches
- Record Components:
ids- the matching object ids, as the host's search index knows them, best firstmatches- what matched, per object id; an object may have none
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SearchMatchesThe answer of a contributor that found nothing or could not search. -
Constructor Summary
ConstructorsConstructorDescriptionSearchMatches(List<String> ids, Map<String, SearchFieldMatches> matches) Creates an instance of aSearchMatchesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ids()Returns the value of theidsrecord component.matches()Returns the value of thematchesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMPTY
The answer of a contributor that found nothing or could not search.
-
-
Constructor Details
-
SearchMatches
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ids
-
matches
-