Autocomplete with filter compound query

Hi @Manoranjan_Bhol,

Thanks for providing the aggregation pipeline and search index details.

Are you able to provide a few sample documents as well as showing the expected output?

I would like to see how the "_id" values just to verify some theories I have whilst also attempting to re-produce the same behaviour.

In the mean time, if it suits your environment / use case(s), would using the pipeline without the filter whilst using a $match for the "_id" values work for you as a temporary workaround whilst trying to figure out what might be causing the issue you’re experiencing with filter usage? There’s an example of this here.

Regards,
Jason

1 Like