For the complete documentation index, see llms.txt. This page is also available as Markdown.
Enterprise only

Lookup Data

Look up specific records in your match output to find which entity cluster they belong to and get their Zingg ID.

right-long

Enterprise only. The lookup feature assigns a Zingg ID to given lookup records by finding which entity cluster they belong to in the existing match output.

After running the match phase, you sometimes need to look up specific records to determine which entity cluster they belong to. The lookup feature handles this; for given lookup records, it assigns the Zingg ID that describes which entity cluster each record belongs to.

This is useful for operational post-match queries: looking up a new customer record to see if it already exists in your resolved entity graph or checking which cluster a specific record resolves to without re-running the full match.

Run the lookup phase

./scripts/zingg.sh \
  --phase runLookup \
  --conf <location to lookupConf.json>

lookupConf.json structure

{
  "config" : "config.json",
             "lookupData"
      : [ {"name" : "lookup-test-data", "format" : "inMemory"} ],
        "lookupOutput" : [ {
          "name" : "lookup-output",
          "format" : "csv",
          "props" : {
            "path" : "/tmp/zinggOutput/lookup",
            "delimiter" : ",",
            "header" : true
          }
        } ]
}
What do the lookupConf.json fields mean?
  • config Points to your base config.json - the same configuration file used for your match phase. Zingg uses this information to understand your field definitions and model location.

  • lookupData The records you want to look up are available here. The format "inMemory" means the lookup records are provided directly in memory rather than from a file. Replace with a file-based pipe config if your lookup records are in a CSV or other format.

  • lookupOutput Where Zingg writes the lookup results. Each lookup record in the output will have its assigned Zingg ID showing which entity cluster it belongs to.

Last updated

Was this helpful?