<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;">
<div class="moz-cite-prefix">On 18/06/2021 08:36, Hank Nussbacher
wrote:</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">As I delve deeper I am more confused.
I went to:</div>
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://www.ripe.net/manage-ips-and-asns/db/support/querying-the-ripe-database#4--query-multiple-databases-with-the-global-resource-service">https://www.ripe.net/manage-ips-and-asns/db/support/querying-the-ripe-database#4--query-multiple-databases-with-the-global-resource-service</a></div>
<div class="moz-cite-prefix">and wanted to search not just RIPE but
all RIRs. <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">So I started with a simple search like:</div>
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://apps.db.ripe.net/db-web-ui/query?bflag=true&dflag=false&rflag=true&searchtext=marlink&source=RIPE&types=organisation">https://apps.db.ripe.net/db-web-ui/query?bflag=true&dflag=false&rflag=true&searchtext=marlink&source=RIPE&types=organisation</a><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">1 hit. Very nice. Easy peasy.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">So I now try all RIRs:<br>
<a class="moz-txt-link-freetext" href="https://apps.db.ripe.net/db-web-ui/query?bflag=true&dflag=false&rflag=true&searchtext=marlink&source=GRS&types=organisation">https://apps.db.ripe.net/db-web-ui/query?bflag=true&dflag=false&rflag=true&searchtext=marlink&source=GRS&types=organisation</a></div>
<div class="moz-cite-prefix">No hits. Shouldn't I have had at least
1 hit from RIPE for this search?</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Regards,</div>
<div class="moz-cite-prefix">Hank<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<blockquote type="cite"
cite="mid:8fdf515e-7b9c-5d15-5df6-e47ecaffa0a6@interall.co.il">On
18/06/2021 00:38, Edward Shryane wrote:
<br>
<br>
This helps as a start. I had played with standard search:
<br>
<a class="moz-txt-link-freetext" href="http://rest.db.ripe.net/search?type-filter=inetnum&query-string=TEST">http://rest.db.ripe.net/search?type-filter=inetnum&query-string=TEST</a>
<br>
but as per the documentation in github:
<br>
<a class="moz-txt-link-freetext" href="https://github.com/RIPE-NCC/whois/wiki/WHOIS-REST-API-search">https://github.com/RIPE-NCC/whois/wiki/WHOIS-REST-API-search</a>
<br>
with:
<br>
type-filter Optional. If specified the results will be
filtered by object-type, multiple type-filters can be specified.
<br>
<br>
doesn't seem to work since I am getting object-types other than
inetnum (such as role or person). Unless I am doing something
wrong. Can you clue me in to the proper syntax? Will
type-filter=inetnum work on fulltextsearch as well?
<br>
<br>
Incidentally, the first and second examples on that RIPE github
page:
<br>
<a class="moz-txt-link-freetext" href="http://rest.db.ripe.net/search?inverse-attribute=org&type-filter=inetnum&source=ripe&query-string=ORG-NCC1-RIPE">http://rest.db.ripe.net/search?inverse-attribute=org&type-filter=inetnum&source=ripe&query-string=ORG-NCC1-RIPE</a>
<br>
results in:
<br>
ERROR:101: no entries found No entries found in source %s.
<br>
Seems like source=ripe is causing issues.
<br>
<br>
Thanks,
<br>
Hank
<br>
<br>
<br>
<blockquote type="cite">Hi Hank,
<br>
<br>
The webpage is restricted to a maximum of 10 pages with 10
matches on each page, but if you don't mind reading XML or JSON
you can make the call directly:
<br>
<br>
XML:
<a class="moz-txt-link-freetext" href="https://apps.db.ripe.net/db-web-ui/api/rest/fulltextsearch/select?facet=true&hl=true&q=(TEST)&start=0&rows=800">https://apps.db.ripe.net/db-web-ui/api/rest/fulltextsearch/select?facet=true&hl=true&q=(TEST)&start=0&rows=800</a><br>
JSON:
<a class="moz-txt-link-freetext" href="https://apps.db.ripe.net/db-web-ui/api/rest/fulltextsearch/select.json?facet=true&hl=true&q=(TEST)&start=0&rows=100">https://apps.db.ripe.net/db-web-ui/api/rest/fulltextsearch/select.json?facet=true&hl=true&q=(TEST)&start=0&rows=100</a><br>
<br>
In this example I'm searching for "TEST". Add a "rows" query
parameter to limit matches, and ".json" to the end of the path
to specify a JSON response.
<br>
<br>
The upcoming Whois 1.101 release exposes this API directly via
<a class="moz-txt-link-freetext" href="https://rest.db.ripe.net/">https://rest.db.ripe.net/</a> and we will document it fully.
<br>
<br>
Also we plan to improve the query page in the coming months, we
will look at integrating full text search and allowing more
results.
<br>
<br>
Regards
<br>
Ed Shryane
<br>
RIPE NCC
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite">On 17 Jun 2021, at 18:45, Hank
Nussbacher via db-wg <a class="moz-txt-link-rfc2396E" href="mailto:db-wg@ripe.net"><db-wg@ripe.net></a> wrote:
<br>
<br>
I am using <a class="moz-txt-link-freetext" href="https://apps.db.ripe.net/db-web-ui/fulltextsearch">https://apps.db.ripe.net/db-web-ui/fulltextsearch</a>
to do a full text search to return just the inetnum record but
if I get 800 hits I get only 10 entries per screen.
<br>
<br>
How can I see all 800 hits at once?
<br>
<br>
Thanks for any clue provided.
<br>
<br>
Regards,
<br>
Hank
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>