Smalyshev added a comment.

Moving the filtering to the mapping (which I'll find more flexible in the future) will require some custom mapper/analyzer.

Right. That's why I prefer to postpone it for now. It's not required for immediate use cases and we can always add it later.

But for me the most important now is to make clear that the elastic field we index is typed, e.g. do not add a new field like "wb_property", I'd prefer something like "wb_relationships".

Right now the field name is statements. I'm not sure whether we should add wb there (everything in that index is "wb", since it's on wikidata). What do you mean by "typed" though?


TASK DETAIL
https://phabricator.wikimedia.org/T175199

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: aude, gerritbot, debt, EBernhardson, dcausse, daniel, Aklapper, Smalyshev, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, Lewizho99, Maathavan, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to