You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some attributes are currently being used as normal attributes. They need to be converted to FacetType.
E.g: for type Segment, highlight=True needs to be a facet. Similarly, entityCount=int needs to be a facet.
Format changes
Although facets are not first-class citizens in Dgraph (and, hence need not be specifically mentione in schema), Facets need to be represented differently for dgraph to recognize it as a facet.
Normal Format
type TranscriptionSegment {
highlight=true
}
type ContextSession {
hasSegment: [uid]
}
Faceted format
type ContextSession {
hasSegment: [uid]
hasSegment|highlight = true
}
Hi Guys, I want to update the facets for that I am using the below mutate query and its happening but existing facets are deleting
can anyone resolve the issue ?
{
set {
<0x4e24> <0x4e25> (inyear=2020 ) .
}
}
hackintoshrao:awesome:
For now, you need to read all the facet values before the update, and then only alter the one you intend to, and write all of it back.
There's no way to specifically update one of the facet entry at this point.
The text was updated successfully, but these errors were encountered:
Some attributes are currently being used as normal attributes. They need to be converted to
FacetType
.E.g: for
type Segment
,highlight=True
needs to be a facet. Similarly,entityCount=int
needs to be a facet.Format changes
Although facets are not first-class citizens in Dgraph (and, hence need not be specifically mentione in schema), Facets need to be represented differently for dgraph to recognize it as a facet.
Normal Format
Faceted format
Things to Note
The text was updated successfully, but these errors were encountered: