Hello.
i am trying to use swiftype web search that already crawled my site and manualy add a page. when trying to add content like this:
{
"auth_token": "________",
"document": {
"external_id": "2",
"fields": [
{"title": "title", "body": "viper123", "type": "string"}
]}
}
i get:
"error": "This API action is prohibited on Engines created using the Swiftype web crawler."
Thank you very much for posting -- we have recently opened this forum, so it's great to see thoughts arrive.
We have two Engine types: an API based Engine and a Crawler based Engine. Crawler based Engines use the crawler to ingest and index documents. API based Engines use the API for ingestion and indexing.
What you could potentially do instead of attempting to push raw JSON is write a function that hits the crawl_url endpoint with the published content URL to (re)visit whenever a page is added, updated, or deleted.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.