wwoast / redpanda-lineage

Data schemas, standards, and processing for building a Red Panda lineage graph
24 stars 16 forks source link

Additional parsing strategies and queries to support #197

Open wwoast opened 4 years ago

wwoast commented 4 years ago

Now that v1 of the parser is completed, and has been evolved on just slightly, I wanted to list out any remaining types of queries that redpandafinder should ideally support:

It may be helpful if the panda.js search functions begin returning both search results, and the graph callbacks that build those results. Any search strategy that is a filter or intersection of facets for a graph node, is more easily expressed not by set combinations, but by taking the current graph callback and adding methods to it before obtaining the results with .run(). Union searches will likely be easier just by combining of the search results of multiple graph .run()s.

wwoast commented 3 years ago

Now that the birthdays content on the landing page is truncated, I should make birthday searches too, for things like today, yesterday, and non-ambiguous combinations of YYYY/MM, YYYY/MM/DD, and MM/DD.

wwoast commented 2 years ago

We have YYYY/MM/DD search now: https://github.com/wwoast/redpanda-lineage/commit/074356b2b880bd3d4e1fc2f9e78ea736ce5c027e

Adding date locales for my existing languages should make the rest fall into place, though I'll need to add a couple more date formats that are language-specific for good measure.

wwoast commented 2 years ago

Now MM/YYYY and MM/DD support is there too, with disambiguation based on language-specific date formats. https://github.com/wwoast/redpanda-lineage/commit/5f7014b7b7264fa3a0f9fc18fe40ab3b8c99820a I still could use some extra regexes for common CJK and Nepali date formats, but that shouldn't be too much extra work.