@algolia/n8n-nodes-algolia 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("n8n-workflow"),l="@algolia/n8n-nodes-algolia",p="0.14.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("n8n-workflow"),l="@algolia/n8n-nodes-algolia",p="0.14.1",o={name:l,version:p},d=[{type:"options",placeholder:"ALGOLIA_INDEX_NAME",default:"",displayName:"Index Name",name:"indexName_string",required:!0,description:"Name of the index on which to perform the operation.",displayOptions:{show:{resource:["Search"],operation:["browse"]}},typeOptions:{loadOptions:{routing:{request:{method:"GET",url:"/1/indexes"},output:{postReceive:[{type:"rootProperty",properties:{property:"items"}},{type:"setKeyValue",properties:{name:"={{ $responseItem.name }}",value:"={{ $responseItem.name }}"}}]}}}}},{displayName:"Additional Properties",name:"additionalProperties",type:"collection",placeholder:"Add property",default:{},required:!1,options:[{type:"options",displayName:"Browse Params",name:"browseParams_options",default:"search_parameters_as_object",options:[{name:"Search Parameters As Object",value:"search_parameters_as_object"},{name:"Search Parameters As Query String",value:"search_parameters_as_query_string_object"}],required:!1},{type:"string",default:"",description:"Search query.",displayName:"Query",name:"query_string",displayOptions:{show:{browseParams_options:["search_parameters_as_object"]}}},{type:"string",placeholder:"comedy drama crime Macy Buscemi",default:"",description:"Keywords to be used instead of the search query to conduct a more broader search\nUsing the `similarQuery` parameter changes other settings\n- `queryType` is set to `prefixNone`.\n- `removeStopWords` is set to true.\n- `words` is set as the first ranking criterion.\n- All remaining words are treated as `optionalWords`\nSince the `similarQuery` is supposed to do a broad search, they usually return many results.\nCombine it with `filters` to narrow down the list of results.\n",displayName:"Similar Query",name:"similarQuery_string",displayOptions:{show:{browseParams_options:["search_parameters_as_object"]}}},{type:"string",placeholder:"(category:Book OR category:Ebook) AND _tags:published",default:"",description:"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `<facet>:<lower> TO <upper>`, where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `<facet>:<value>`, where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value.\n- **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive).\n- **Boolean filters.** `<facet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n",displayName:"Filters",name:"filters_string",displayOptions:{show:{browseParams_options:["search_parameters_as_object"]}}},{type:"json",name:"facetFilters",displayName:"Facet Filters",default:"",displayOptions:{show:{browseParams_options:["search_parameters_as_object"]}}},{type:"json",name:"optionalFilters",displayName:"Optional Filters",default:"",displayOptions:{show:{browseParams_options:["search_parameters_as_object"]}}},{type:"json",name:"numericFilters",displayName:"Numeric Filters",default:"",displayOptions:{show:{browseParams_options:["search_parameters_as_object"]}}},{type:"json",name:"tagFilters",displayName:"Tag Filters",default:"",displayOptions:{show:{browseParams_options:["search_parameters_as_object"]}}},{type:"boolean",default:!1,description:`Whether to sum all filter scores
|
|
2
2
|
If true, all filter scores are summed.
|
|
3
3
|
Otherwise, the maximum filter score is kept.
|
|
4
4
|
For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
|