You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><strong>IIIF 3.0 fields:</strong><codeclass="language-plaintext highlighter-rouge">body.value</code>, <codeclass="language-plaintext highlighter-rouge">bodyValue</code>, and nested structures in <codeclass="language-plaintext highlighter-rouge">items</code> and <codeclass="language-plaintext highlighter-rouge">annotations</code></li>
539
539
<li><strong>IIIF 2.1 fields:</strong><codeclass="language-plaintext highlighter-rouge">resource.chars</code>, <codeclass="language-plaintext highlighter-rouge">resource.cnt:chars</code>, and nested structures in AnnotationLists, Canvas <codeclass="language-plaintext highlighter-rouge">otherContent</code>, and Manifest <codeclass="language-plaintext highlighter-rouge">sequences</code></li>
540
540
</ul>
541
+
<p>
542
+
To allow for more records in the response one can add the URL parameter <code>limit</code> to the search requests. If you expect the search request will have a very large response with many objects, your application should use a paged search by also using the <code>skip</code> URL parameter. You will see an example of this below.
543
+
<pclass="alert"> Note that your application may experience strange behavior with large limits, such as ?limit=1000. It is recommended to use a limit of 100 or less. If you expect there are more than 100 matching records, use a paged search to make consecutive requests until all records all gathered.</p>
<li><strong>IIIF 3.0 fields:</strong><codeclass="language-plaintext highlighter-rouge">body.value</code>, <codeclass="language-plaintext highlighter-rouge">bodyValue</code>, and nested structures in <codeclass="language-plaintext highlighter-rouge">items</code> and <codeclass="language-plaintext highlighter-rouge">annotations</code></li>
653
657
<li><strong>IIIF 2.1 fields:</strong><codeclass="language-plaintext highlighter-rouge">resource.chars</code>, <codeclass="language-plaintext highlighter-rouge">resource.cnt:chars</code>, and nested structures in AnnotationLists, Canvas <codeclass="language-plaintext highlighter-rouge">otherContent</code>, and Manifest <codeclass="language-plaintext highlighter-rouge">sequences</code></li>
654
658
</ul>
659
+
<p>
660
+
To allow for more records in the response one can add the URL parameter <code>limit</code> to the search requests. If you expect the search request will have a very large response with many objects, your application should use a paged search by also using the <code>skip</code> URL parameter. You will see an example of this below.
661
+
<pclass="alert"> Note that your application may experience strange behavior with large limits, such as ?limit=1000. It is recommended to use a limit of 100 or less. If you expect there are more than 100 matching records, use a paged search to make consecutive requests until all records all gathered.</p>
662
+
</p>
655
663
<p>
656
664
Search behavior:
657
665
</p>
658
666
<ul>
659
667
<li>Results will only include Web Annotation, IIIF Presentation API 3.0, and IIIF Presentation API 2.1 resource types that have the text embedded within their structure.</li>
660
668
<li>Searches are case-insensitive</li>
661
-
<li>Uses a "slop" value (default: 2) that allows up to 2 intervening words between search terms</li>
669
+
<li>Uses a "slop" value (default: 2) that allows up to 2 intervening words between search terms. You may supply a different slop as an option.</li>
662
670
<li>Words don't need to be directly adjacent, providing flexibility while maintaining phrase coherence</li>
663
671
<li>More precise than standard text search for multi-word queries</li>
664
672
<li>Results are sorted by relevance score (highest first)</li>
The <codeclass="language-plaintext highlighter-rouge">limit</code> and <codeclass="language-plaintext highlighter-rouge">skip</code> URL parameters work the same as in the standard text search endpoint for pagination support.
0 commit comments