Skip to main content
 
 
 
IN THIS SECTION
2 posts
Eric
Last seen: 06/22/2022 - 09:13
Joined: 06/17/2022 - 13:45
Having issues getting complex queries to work with text parameters

I have tried a dozen different ways to query the patent_abstract parameter with multiple words, but have been unable to. Similar results occur when hitting the patent_title parameter (basically anything with full text doesn't work for me).

This produces results:
https://api.patentsview.org/patents/query?q={"_and":[{"_text_all":{"patent_abstract":"Marvel"}}]}
And this produces results:

https://api.patentsview.org/patents/query?q={"_and":[{"_text_all":{"patent_abstract":"Tesla"}}]}

But these do not:
https://api.patentsview.org/patents/query?q=
{"_and":[{"_text_all":{"patent_abstract":"Marvel"}},{"_text_all":{"patent_abstract":"Tesla"}}]}
https://api.patentsview.org/patents/query?q=
{"_and":[{"_text_any":{"patent_abstract":"Marvel Tesla"}}]}

I am also trying to get it so I can query the patent abstract with both include and exclude
words/phrases, but similarly, no results are occurring.

How do I query multiple words from the abstract and how would I exclude a word from abstract in conjunction with the include?

emelluso
Role: administrator
Last seen: 06/04/2024 - 13:23
Joined: 10/21/2020 - 10:51
Query Builder Emails Down

Hello Eric,

The PatentsView Query Builder email is down due to a change to Google's allowance of our API to send emails on our behalf. While we work on a repair, please visit our service desk to request a dataset. 

Thank you,

Emily