Skip to main content
 
 
 
IN THIS SECTION
2 posts
ST
Last seen: 04/27/2019 - 20:46
Joined: 04/24/2019 - 16:21
Query function

Hi, I am trying to search patents that contain the words "block chain" or "block chains" in the patent title and patent abstract using API.

For now, my query looks like, "{"_or":[{"_text_phrase":{"patent_abstract":"block chain"}},{"_text_phrase":{"patent_abstract":"block chains"}}]}. Is there any way I can search with a shortened query, such as "block chain*" that captures both "block chain" and "block chains"? I think I saw from the other places, they use asterisk symbol to do this kind of function. I was just wondering whether Patentsview also have that kind of query technique.

Thank you.

PVTeam
Role: moderator
Last seen: 04/24/2024 - 12:31
Joined: 10/17/2017 - 10:47
Re: Query Function

Hi,

The PatentsView API does not use regular expressions. In order to query “block chain” or “block chains”, you will need to use the query you built above using "_or" as the join operator.

Thanks,

PVTeam