Populations and Controls

Populations and Controls

Range Matching

Range Matching

The range matching returns 100% score if the search data and file data values are within the specified range. You can specify a range for the search data, the file data, or both to perform matching. You can perform range matching on numeric data and dates.
Use one of the following formats to perform range matching on numeric fields:
  • PURPOSE=<Purpose Name> SEARCH=<Field Name>[(<Field ID>;<Weight>;Range:<Negative Limit>;<Positive Limit>)],<Offset>,<Length> FILE=<Field Name>[(<Field ID>;<Weight>;Range:<Negative Limit>;<Positive Limit>)],<Offset>,<Length>
    If you want to extend a key field, use any number as the
    Field ID
    value. If you do not want to extend any key field, use 0 as the
    Field ID
    value. If you extend a key field in the search or file data, you must extend the corresponding key field in the search or file data.
    For example, the
    PURPOSE=Person_Name SEARCH=Person_Name,0,16,Attribute1(1;5;Range:20;10),16,2 FILE=Person_Name,0,16,Attribute1(1;Range),16,2
    expression creates an extended field for the
    Attribute1
    field named
    Attribute1(1)
    and sets the weight for the extended field to 5. If the
    Attribute1(1)
    value in the search data is 100, the range for the search data is 100-20 to 100+10, which is 80 to 110. The range matching returns 100% score if the
    Attribute1(1)
    value in the file data is within the search data range.
    If both the positive and negative limits are the same, you can specify the range in the
    (Range:<Limit>)
    format. For example,
    (Range:20)
    equals
    (Range:20;20).
  • PURPOSE=<Purpose Name> SEARCH=<Field Name>[(<Field ID>;<Weight>;Range:%<Negative Limit>;<Positive Limit>)],<Offset>,<Length> SEARCH=<Field Name>[(<Field ID>;<Weight>;Range:%<Negative Limit>;<Positive Limit>)],<Offset>,<Length>
    If you want to extend a key field, use any number as the
    Field ID
    value. If you do not want to extend any key field, use 0 as the
    Field ID
    value. If you extend a key field in the search or file data, you must extend the corresponding key field in the search or file data.
    For example, the
    PURPOSE=Person_Name SEARCH=Person_Name,0,16,Attribute1,16,2 FILE=Person_Name,0,16,Attribute1(Range:%10;20),16,2
    expression indicates that if the
    Attribute1
    value in the file data is 100, the range for the file data is 100-10% of the
    Attribute1
    value to 100+20% of the
    Attribute1
    value, which is 90 to 120. The range matching returns 100% score if the
    Attribute1
    value in the search data is within the file data range.
    If both the positive and negative limits are the same, you can specify the range in the
    (Range:%<Limit>)
    format. For example,
    (Range:%20)
    equals
    (Range:%20;20).
  • PURPOSE=<Purpose Name> SEARCH=<Field Name>[(Range:F|S)],<Offset>,<Length> FILE=<Field Name>[(Range:F|S]),<Offset>,<Length>
    The value F indicates to use the file data to create the range, and the value S indicates to use the search data to create the range.
    For example, the
    PURPOSE=Fields SEARCH=Date(Range:F),0,4 FILE=Date(Range:F),0,4,Date(Range:F),4,4
    expression indicates that if the file data is 50008000, the range for the search data is 5000 to 8000. The range matching returns 100% score if the
    Date
    value in the search data is within the file data range.
Use one of the following formats to perform range matching on date fields:
  • PURPOSE=<Purpose Name> SEARCH=<Date Field Name>[(Range:F|S)],<Offset>,<Length> FILE=<Date Field Name>[(Range:F|S]),<Offset>,<Length>
    The value
    F
    indicates to use the file data to create the range, and the value
    S
    indicates to use the search data to create the range.
    For example, the
    PURPOSE=Fields SEARCH=Date(Range:F),0,8 FILE=Date(Range:F),0,8,Date(Range:F),8,8
    expression indicates that if the file data is 1999101019991020, the range for the search data is 19991010 to 19991020. The range matching returns 100% score if the Date value in the search data is within the file data range.
  • PURPOSE=<Purpose Name> SEARCH=<Date Field Name>[(DateRange:<Negative Limit>;<Positive Limit>)],<Offset>,<Length> SEARCH=<Date Field Name>[(DateRange:<Negative Limit>;<Positive Limit>)],<Offset>,<Length>
    For example, the
    PURPOSE=Fields SEARCH=Date(DateRange:F),0,8 FILE=Date(DateRange:5;10),8,8
    expression indicates that if the
    Date
    value in the file data is 20150410, the range for the file data is 20150405 to 20150420. The range matching returns 100% score if the
    Date
    value in the search data is within the file data range.
    If both the positive and negative limits are the same, you can specify the range in the
    (DateRange:<Limit>)
    format. For example,
    (DateRange:7)
    equals
    (DateRange:7;7).
  • PURPOSE=<Purpose Name> SEARCH=<Date Field Name>[(DateRange:%<Negative Limit>;<Positive Limit>)],<Offset>,<Length> SEARCH=<Date Field Name>[(DateRange:%<Negative Limit>;<Positive Limit>)],<Offset>,<Length>
    For example, the
    PURPOSE=Fields SEARCH=Date,0,8 FILE=Date(DateRange:%10;20),0,8
    expression indicates that if the
    Date
    value in the file data is 19991010, the range for the file data is 10-10% of the
    Date
    value to 10+20% of the
    Date
    value, which is 19991009 to 19991012. The range matching returns 100% score if the
    Date
    value in the search data is within the file data range.
    If both the positive and negative limits are the same, you can specify the range in the
    (DateRange:%<Limit>)
    format. For example,
    (DateRange:%20)
    equals
    (DateRange:%20;20).

0 COMMENTS

We’d like to hear from you!