Is there any way to compare multiple fields that refers to the same attribute? (for example first name and last name can be refer to the name attribute) do i have to modify the OysterSourceDescriptor for doing that? can i do something like this in source2 or source3? :
source1
<ReferenceItems><!-- For Delimited --><ItemName="username"Attribute="@RefID"Pos="0"/><ItemName="complete_name"Attribute="name"Pos="1"/></ReferenceItems>
source2
<ReferenceItems><!-- For Delimited --><ItemName="username"Attribute="@RefID"Pos="0"/><ItemName="fname"Attribute="name"Pos="1"/><ItemName="lname"Attribute="name"Pos="1"/></ReferenceItems>
source3
<ReferenceItems><!-- For Delimited --><ItemName="username"Attribute="@RefID"Pos="0"/><ItemName="fname + lname"Attribute="name"Pos="1"/></ReferenceItems>
Thanks a lot!
Last edit: Juan Gordon 2014-04-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Juan,
Oyster does not support this. It makes a fundamental assumption that their
is uniform set of attributes across all sources and the rules assume that
you are always comparing values of the same attribute. Some systems handle
this by using a second level of attribute metadata, basically a type
attribute. In your example, in one source you could have Fname and Lname
that are typed as "Name" attributes, and the complete_name in the other
source also typed as "Name", then you could have a matching rule compares
on the term "Name" using a comparator that is smart enough to compare these
multi-valued fields.
Thanks,
-jrt-
Is there any way to compare multiple fields that refers to the same
attribute? (for example first name and last name can be refer to the name
attribute) do i have to modify the OysterSourceDescriptor for doing that?
can i do something like this in source2? :
Hi there,
Is there any way to compare multiple fields that refers to the same attribute? (for example first name and last name can be refer to the name attribute) do i have to modify the OysterSourceDescriptor for doing that? can i do something like this in source2 or source3? :
Thanks a lot!
Last edit: Juan Gordon 2014-04-23
Juan,
Oyster does not support this. It makes a fundamental assumption that their
is uniform set of attributes across all sources and the rules assume that
you are always comparing values of the same attribute. Some systems handle
this by using a second level of attribute metadata, basically a type
attribute. In your example, in one source you could have Fname and Lname
that are typed as "Name" attributes, and the complete_name in the other
source also typed as "Name", then you could have a matching rule compares
on the term "Name" using a comparator that is smart enough to compare these
multi-valued fields.
Thanks,
-jrt-
On Wed, Apr 23, 2014 at 7:40 AM, Juan Gordon jegordon@users.sf.net wrote: