autocomplete
Autocomplete returns a list of index keys that match the starting letters given in value.
Syntax
autocomplete=<field name>&<parameter>=<value>&...
-
database
(String)
database on which to perform the autocomplete function.
-
value
(String)
[optional] search value for which to return the keys
-
limit
(Integer)
[optional] maximum amount of keys to return (default = 10).
Description
Instead of retrieving all terms or names from a certain (partial) word onwards, like you do with the scan command, you may want to retrieve only those terms or names starting with a certain character or partial word. In that case, use the autocomplete command.
If a retrieved term or name is a non-preferred term, its preferred term or name will be retrieved as well (from wwwopac.ashx version 3.7.14013): in the search result XML, the <term>
and the <preferred_term>
node are contained in a single <record>
node.
Examples
-
From collect.inf, retrieve all keys from the index on the object name field, starting with "p"
show
Note that you must not truncate the search value explicitly.
http://test2.adlibsoft.com/api/wwwopac.ashx?database=collect.inf&autocomplete=OB&value=p
-
Retrieve maximally 10 creator names starting with "b"
show
- no further description -
http://test2.adlibsoft.com/api/wwwopac.ashx?database=collect.inf&autocomplete=VV&value=b&limit=10
Description
- no Adlib.Data-specific description available yet; see the URL request tab for all information -
Examples
Description
- no jQuery-specific description available yet; see the URL request tab for all information -
Examples