This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/db-wg@ripe.net/
[db-wg] fulltextsearch question
- Previous message (by thread): [db-wg] fulltextsearch question
- Next message (by thread): [db-wg] fulltextsearch question
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hank Nussbacher
hank at interall.co.il
Fri Jun 18 07:36:28 CEST 2021
On 18/06/2021 00:38, Edward Shryane wrote: This helps as a start. I had played with standard search: http://rest.db.ripe.net/search?type-filter=inetnum&query-string=TEST but as per the documentation in github: https://github.com/RIPE-NCC/whois/wiki/WHOIS-REST-API-search with: type-filter Optional. If specified the results will be filtered by object-type, multiple type-filters can be specified. 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? Incidentally, the first and second examples on that RIPE github page: http://rest.db.ripe.net/search?inverse-attribute=org&type-filter=inetnum&source=ripe&query-string=ORG-NCC1-RIPE results in: ERROR:101: no entries found No entries found in source %s. Seems like source=ripe is causing issues. Thanks, Hank > Hi Hank, > > 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: > > XML: https://apps.db.ripe.net/db-web-ui/api/rest/fulltextsearch/select?facet=true&hl=true&q=(TEST)&start=0&rows=800 > JSON: https://apps.db.ripe.net/db-web-ui/api/rest/fulltextsearch/select.json?facet=true&hl=true&q=(TEST)&start=0&rows=100 > > 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. > > The upcoming Whois 1.101 release exposes this API directly via https://rest.db.ripe.net/ and we will document it fully. > > Also we plan to improve the query page in the coming months, we will look at integrating full text search and allowing more results. > > Regards > Ed Shryane > RIPE NCC > > > > >> On 17 Jun 2021, at 18:45, Hank Nussbacher via db-wg <db-wg at ripe.net> wrote: >> >> I am using https://apps.db.ripe.net/db-web-ui/fulltextsearch 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. >> >> How can I see all 800 hits at once? >> >> Thanks for any clue provided. >> >> Regards, >> Hank >> >
- Previous message (by thread): [db-wg] fulltextsearch question
- Next message (by thread): [db-wg] fulltextsearch question
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ db-wg Archives ]