Closed m0bi5 closed 3 years ago
@m0bi5 you can use match phrase query to search the exact phrase.
{
"query": {
"match_phrase": {
"applicant.name": "Virginia Polytechnic Institute And State Univ"
}
}
}
@rosharma9 Thanks, that seems to be better. However, there is still a mismatch of around 5-10 records compared to that obtained from the website. Any idea why that may be the case?
@m0bi5 The link you shared is giving same results (46) as API.
But for some cases, there might be some difference in the results. Please refer to this reply for details.
Okay, thanks. The linked issue was helpful!
I am currently using the Patent API to search for patents with
applicant.name = "Virginia Polytechnic Institute And State Univ"
. The equivalent search on the website returns 41 results (Link to search), however, the API returns atleast 100 results.I have also tried
applicant.name.keyword='Virginia Polytechnic Institute And State Univ'
but that returns 0 results.