On Thu, Jan 28, 2016 at 5:21 AM, Luigi Assom <[email protected]> wrote:

> 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 ?
>

Are you actually using generator=search? Below you state that you're using
generator=allpages, which is obviously going to give you different results.

Try an example like
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=search&format=json&srsearch=dj%20tiesto&srprop=snippet|titlesnippet&indexpageids=&generator=search&gsrsearch=dj%20tiesto
instead.


-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to