Question

I need to filter a set of records based on a 'not equal to' (NEQ) condition. For example if I want get all products where brand is not equal to say "X". How to configure this situation in pipeline?

Was it helpful?

Solution

As mentioned in a previous answer, you can use a Record Filter, which is the Nr parameter, to accomplish this. You can read more about Record Filters in the Advanced Developer Guide.

Since the question is specifically about configuring the pipeline to support this, it is worth pointing out that you have to explicitly enable properties for Record Filter while all dimensions are automatically available for Record Filter. In most cases 'Brand' is likely to be a dimension, in which case your query will look like this:

Nr=NOT(brand:X)

It is likely you'll want to take this further to use nested filters which I suggest you look at the examples in the documentation.

OTHER TIPS

In case of URLEneQuery use: Nr=NOT(property.brand: X)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top