1,554
edits
Line 1,076: | Line 1,076: | ||
==== Family: Curculionidae - Search Example ==== | ==== Family: Curculionidae - Search Example ==== | ||
{{Caution|'''Direct queries to the iDigBio Elasticsearch service are deprecated. The [https://github.com/idigbio/idigbio-search-api/wiki iDigBio API v2 / iDigBio Search API specification] should be used instead.'''}} | |||
Let us say we are looking for images associated with specimen records for Family Curculionidae (a family of weevils). | Let us say we are looking for images associated with specimen records for Family Curculionidae (a family of weevils). | ||
Line 1,100: | Line 1,102: | ||
'''''The following example may not be correct yet...''''' | '''''The following example may not be correct yet...''''' | ||
<pre>$ curl -s 'http://search.idigbio.org/idigbio/records/_search?q=hasImage:true+AND+family:curculionidae+AND+stateprovince:%22new%20jersey%22'</pre> | <pre>$ curl -s 'http://search.idigbio.org/idigbio/records/_search?q=hasImage:true+AND+family:curculionidae+AND+stateprovince:%22new%20jersey%22'</pre> | ||
=== Mapping Example === | === Mapping Example === |
edits