Open arash-hajikhani opened 1 year ago
Hello Arash,
Thanks for this question, below is an example API request that returns all the metadata for a search on company name in the assignee/owner name (i.e. owner_all.name
). Note, you may also want to search the applicant name field for the company name as well (i.e. applicant.name
).
Aaron
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"owner_all.name": "TECHNICAL RESEARCH CENTRE OF FINLAND"
}
},
{
"match_phrase": {
"owner_all.name": "TECHNICAL RESEARCH CENTRE OF FINLAND THE"
}
},
{
"match_phrase": {
"owner_all.name": "FINLAND NATIONAL TECHNICAL RESEARCH CENTRE"
}
},
{
"match_phrase": {
"owner_all.name": "VTT TECHNICAL RESEARCH CENTRE OF FINLAND"
}
},
{
"match_phrase": {
"owner_all.name": "VTT TECHNICAL RESEARCH CENTRE OF FINLAND LTD"
}
},
{
"match_phrase": {
"owner_all.name": "VTT TECHNICAL RESEARCH CENTRE OF FINLAND LTD FI"
}
}
]
}
},
"size": 100
}
Many thanks Aaron! on the variations of the entity name, should I consider looping a variety of the name (as you did with VTT) or may I provide my ONE entity name variation as entry? I have ONE name and location of the entities, would this be enough for a match in API so to retrieve the other metadata (patent applications, inventors, ...) for my entities?
Would this query considers other variations for the VTT name entity?
data = '''{
"query": {
"match":{
"applicant.name": "VTT Technical Research Center of Finland"
}
},
"size": 10
}'''
Hi! Any update on this thread?
Hi, could you advise on the code that can get company name (assignee name) and return the related metadata (i.e. family number, title, ...)? I have checked the examples in this link and can not find the scenario: https://docs.api.lens.org/examples-patent.html#find-the-20-most-recently-published-patent-records-from-offset-10-that-match-the-provided-string-query