Specify the Collate query in Phrase Suggestion

Phase Suggestion can be done in the search api. I wonder if there's a way to reuse the query in search api call for the Collate query.

Thanks!

Hey,

I am not sure, what you mean with reuse here. You have to specify the query manually, wherever you want to place it.

--Alex

Hi Alexander,
I got it now. Thank you! Also is there a way to say only give me suggestion if the total number of documents returned is less than a number?

nothing on top of my head, that would allow you to do this, as the option only checks if there is a match. Only way is to improve the query to be more strict what it returns.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.