dcausse added a comment.
In T257938#6454866 <https://phabricator.wikimedia.org/T257938#6454866>, @EBernhardson wrote: > I might suggest integrating license filtering a little closer to the backend, such that searching by license is something a user could plausibly type into the search box. The expansion to verbose terms would then happen in the backend and avoid the large character limit. I would have to check with @dcausse on preferred implementation, but likely a transformation stage in the query parser can transform something like `haslicense:cc-by` into `haswbstatement:...` prior to keyword parsing. I'd suggest that `haslicense` becomes a plain keyword implementation and possibly reusing existing `HasWbStatementFeature` methods to build its elastic query, the constraint is that it'll have to be written in the `WikibaseCirrusSearch` extension. TASK DETAIL https://phabricator.wikimedia.org/T257938 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: AnneT, dcausse Cc: dcausse, Multichill, EBernhardson, matthiasmullie, mwilliams, Aklapper, CBogen, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, darthmon_wmde, Kent7301, joker88john, CucyNoiD, Nandana, JKSTNK, Gaboe420, Giuliamocci, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Af420, E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, Bsandipan, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, Lewizho99, Maathavan, Silverfish, Poyekhali, _jensen, rosalieper, Taiwania_Justo, Scott_WUaS, Susannaanas, Ixocactus, Wong128hk, Jane023, Wikidata-bugs, Base, aude, El_Grafo, Dinoguy1000, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331, Ltrlg, Keegan
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs