Commit 807bca5c authored by Muneeb Saeed's avatar Muneeb Saeed

Update search-simple-query.js

parent 18577ced
......@@ -33,6 +33,9 @@ async function main(searchQuery, facets, filters, pageSize, pageOffset) {
const facetSpecs = facets ? facets : [];
const filter = filters; /// TRY DIFFERENT FILTER EXPRESSIONS
// const filter = '(colors: ANY("Cool gray" ,"Light gray"))'; // TRY DIFFERENT FILTER EXPRESSIONS
const queryExpansionSpec = {
condition: 'AUTO', // TRY OTHER QUERY EXPANSION CONDITIONS HERE
};
// A unique identifier for tracking visitors.
const visitorId = '12345';
......@@ -59,6 +62,7 @@ async function main(searchQuery, facets, filters, pageSize, pageOffset) {
filter,
visitorId,
pageSize,
queryExpansionSpec,
offset,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment