Hello,

I would like to better understand the difference in using list=search VS generator=search for full-text search.

I've read list=search relies on elastic search:  which are the differences in indexing and differences in returned results between list=generator and generator=search ? 

I also need to query the page_ID of returned articles:
I can using a generator=search: page_IDs are related to returned pages (example in sandbox)

But cannot do it with list=search:
I tried: list=search + generator=allpages + indexpageids parameter.

The pageIDs in query['pageids'] are not related to the articles in the query['search'] list - it looks like generator is querying new stuff by itself, instead of taking the list in input.

Could you please help to write a query using list=search to fetch also pageIDs of returned pages?

My sandbox attempt is:


Thank you!