Gotcha! Well, that test is over, I'm afraid
:). I know we do have methods
for sort of forcing a session into a test population (for browsing
purposes) but I'm not sure how I feel about the idea of making that
available for _non_testing purposes. It kind of defeats the point of an A/B
test if the population is self-selected and features people aware of the
context of the test.
On 26 January 2016 at 12:34, Luigi Assom <itsawesome.yes(a)gmail.com>
wrote:
Hi!
@ Oliver,
about A/B test I refer to the email of 13 Jan 2016
by Deborah Tankersley
[discovery] New A/B testing on Wikipedia Portal page
however, yes I would like tobe included in A/B tests in general, not a
particular one.
I m mostrly interested in full text search, knowledge discovery and
discovery of topics' context.
@Luca Nemo
https://www.mediawiki.org/wiki/API:Query#Generators
https://www.mediawiki.org/wiki/API:Search
Not much clear to me yet, sorry.
I will rephrase my question:
I would like to do a full-text search (FTS) query, have the pageids and
decorators.
I also would like to have results hit (I see them in API:Search,
list=search); I would like to access the page_Ids of articles (see them in
generators).
I would like to understand if the backend between two is different,
since I've read list=search use an ElasticSearch instance, and it seems to
me it is faster and better FTS (not tried extensively, through).
Also, list=search offers a snippet and may be less expensive for wiki
server instead of quering an exerpt - is it the case?
I pass:
params = {'action':'query', 'generator':'search',
'gsrnamespace' : 0,
'gsrsearch' : keywords, 'gsrlimit' : 20 , 'prop' :
'pageimages|extracts',
'pilimit' : 'max', 'exintro' : '', 'explaintext'
: '', 'exsentences' : 3,
'exlimit' : 'max', 'redirects' : '' }
would like to do the same with list=search.
Could you please show an example of FTS with list=search ?
Not clear to me how coudl I pass a list to a generator, if it is the
case.
Thank you.
On Tue, Jan 26, 2016 at 5:41 PM, Oliver Keyes <okeyes(a)wikimedia.org>
wrote:
Which A/B test are you referring to? We have
tried quite a few :). Or
do you just generally want to be included in the A/B tests?
On 26 January 2016 at 03:44, Luigi Assom <itsawesome.yes(a)gmail.com>
wrote:
> Hello,
>
> I have few question for discovery portal and API:
>
> - possible to be included in the 0.05% who tried the A/B test?
>
> - do you have or plan to have a feature for discovery *between*
topics? E.g.
> suggestions connecting two topics.
> I ve been working on this.
>
> - Which is the difference in API:Search between:
> list=search and generator=search ?
> The first seems to be faster to me.
>
> - I need to fetch the pageIDs of the results, and have them already
> redirected and decorated with images and snipped/excerpt.
>
> With generator=search I could do it, I can't with list=search
> Could you help in grasping query parameters?
>
> #generator=search
> params = {'action':'query', 'generator':'search',
'gsrnamespace' : 0,
> 'gsrsearch' : keywords, 'gsrlimit' : 20 , 'prop' :
'pageimages|extracts',
> 'pilimit' : 'max', 'exintro' : '',
'explaintext' : '', 'exsentences'
: 3,
> 'exlimit' : 'max', 'redirects' : '' }
>
> #list=search
> params = {'action':'query', 'list':'search',
'srsearch' : keywords,
> 'srlimit' : 20 , 'srprop' : 'size', 'indexpageids' :
1 } ??
>
> I m trying with sand box with no success, only search results are
hit, no
> matter of
>
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=sear…
>
>
> - I also found 0&formatversion=2' is another param used in search=list
> Has it a special meaning?
>
>
>
> _______________________________________________
> discovery mailing list
> discovery(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/discovery
>
--
Oliver Keyes
Count Logula
Wikimedia Foundation
_______________________________________________
discovery mailing list
discovery(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/discovery
_______________________________________________
discovery mailing list
discovery(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/discovery
--
Oliver Keyes
Count Logula
Wikimedia Foundation
_______________________________________________
discovery mailing list
discovery(a)lists.wikimedia.org