internetarchive / iiif

The official Internet Archive IIIF service
GNU General Public License v3.0
21 stars 4 forks source link

Feature request: Content Search API endpoint #21

Open hadro opened 11 months ago

hadro commented 11 months ago

Via Mastodon, a feature request: https://glammr.us/@DavidH/111090162054305508

Will you also be providing a IIIF Content Search API endpoint?

glenrobson commented 11 months ago

Not a strong ask yet but please chip in if you want this funconality.

We would have to find a IA API that searches the full text and returns coordiantes.

digitaldogsbody commented 11 months ago

https://ia800204.us.archive.org/fulltext/inside.php?item_id=onethousandyears00daye&doc=onethousandyears00daye&path=/24/items/onethousandyears00daye&q=beginning&pre_tag=%7B%7B%7B&post_tag=%7D%7D%7D&callback=jQuery36108998574136361855_1695332534677

glenrobson commented 11 months ago

Would need to test if this works with AV.

digitaldogsbody commented 11 months ago

Example with multiline matches (3rd result - 2 bounding boxes, one box that covers the total): https://ia800204.us.archive.org/fulltext/inside.php?item_id=onethousandyears00daye&doc=onethousandyears00daye&path=/24/items/onethousandyears00daye&q=its%20parentage&pre_tag=%7B%7B%7B&post_tag=%7D%7D%7D&callback=jQuery36108998574136361855_1695332534677

lakshya-dhariwal commented 9 months ago

@glenrobson would love to pick this up, if no one else is working on this.

glenrobson commented 7 months ago

Hi @lakshya-dhariwal, we are picking up this work now after a break. If you are still interested in looking at this could you send me an email at glen.robson@iiif.io so I can invite you to the IA spring meeting on the 8th of Feb?

Thanks