Python
import requests url = "https://{FUSION HOST}/api/collections/{collection}/schema/fields" response = requests.get(url) print(response.text)
[ { "name": "<string>", "type": "<string>", "indexed": true, "stored": true, "multiValued": true, "required": true, "docValues": true, "omitNorms": true, "omitPositions": true, "omitTermFreqAndPositions": true, "termVectors": true, "termPositions": true, "termOffsets": true, "copyDests": [ "<string>" ], "copySources": [ "<string>" ], "numDocs": 123, "default": "<string>" } ]
Returns fields for a given collection.
Documentation IndexFetch the complete documentation index at: https://doc.lucidworks.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
Collection ID.
successful operation
Was this page helpful?