Giter Club home page Giter Club logo

Comments (1)

davemoore- avatar davemoore- commented on June 12, 2024

@licenziato I'm sure this response comes far too late for your needs and I apologize for that. I'll answer it anyway for the record.

I wasn't able to reproduce your issue. I reproduced your setup (zentity 1.5.1, Elasticsearch 7.3.2) and configurations, and my resolution job included the third document which was matched by the "dob" resolver (see below). If I had to guess, the issue may have been rooted in the mapping, data, or other configuration in your environment.

POST _zentity/resolution/zentity_test_resolution_person?_source=false&_explanation=true
{
  "took" : 65,
  "hits" : {
    "total" : 3,
    "hits" : [ {
      "_index" : "obj-person",
      "_type" : "_doc",
      "_id" : "1",
      "_hop" : 0,
      "_query" : 0,
      "_attributes" : {
        "dob" : [ "633-9242" ],
        "first_name" : [ "Nolan" ],
        "last_name" : [ "Hendricks" ]
      },
      "_explanation" : {
        "resolvers" : {
          "name_only" : {
            "attributes" : [ "first_name", "last_name" ]
          }
        },
        "matches" : [ {
          "attribute" : "first_name",
          "target_field" : "entry.infoObject.firstName.value",
          "target_value" : "Nolan",
          "input_value" : "Nolan",
          "input_matcher" : "fuzzy",
          "input_matcher_params" : {
            "fuzziness" : "0"
          }
        }, {
          "attribute" : "last_name",
          "target_field" : "entry.infoObject.lastName.value",
          "target_value" : "Hendricks",
          "input_value" : "Hendricks",
          "input_matcher" : "fuzzy",
          "input_matcher_params" : { }
        } ]
      }
    }, {
      "_index" : "obj-person",
      "_type" : "_doc",
      "_id" : "2",
      "_hop" : 0,
      "_query" : 0,
      "_attributes" : {
        "dob" : [ "677-9999" ],
        "first_name" : [ "Nolan" ],
        "last_name" : [ "Hendricks" ]
      },
      "_explanation" : {
        "resolvers" : {
          "name_only" : {
            "attributes" : [ "first_name", "last_name" ]
          }
        },
        "matches" : [ {
          "attribute" : "first_name",
          "target_field" : "entry.infoObject.firstName.value",
          "target_value" : "Nolan",
          "input_value" : "Nolan",
          "input_matcher" : "fuzzy",
          "input_matcher_params" : {
            "fuzziness" : "0"
          }
        }, {
          "attribute" : "last_name",
          "target_field" : "entry.infoObject.lastName.value",
          "target_value" : "Hendricks",
          "input_value" : "Hendricks",
          "input_matcher" : "fuzzy",
          "input_matcher_params" : { }
        } ]
      }
    }, {
      "_index" : "obj-person",
      "_type" : "_doc",
      "_id" : "3",
      "_hop" : 1,
      "_query" : 0,
      "_attributes" : {
        "dob" : [ "677-9999" ],
        "first_name" : [ "Noln" ],
        "last_name" : [ "Hendricks" ]
      },
      "_explanation" : {
        "resolvers" : {
          "dob" : {
            "attributes" : [ "dob" ]
          }
        },
        "matches" : [ {
          "attribute" : "dob",
          "target_field" : "entry.infoObject.dateOfBirth.value",
          "target_value" : "677-9999",
          "input_value" : "677-9999",
          "input_matcher" : "simple",
          "input_matcher_params" : { }
        }, {
          "attribute" : "last_name",
          "target_field" : "entry.infoObject.lastName.value",
          "target_value" : "Hendricks",
          "input_value" : "Hendricks",
          "input_matcher" : "fuzzy",
          "input_matcher_params" : { }
        } ]
      }
    } ]
  }
}

from zentity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.