Closed DiegoPino closed 1 year ago
Note: this is much easier for the Normal Full Text Search API Filter. The advanced one needs extra processing since the multiple Fields searched against need to be separated between datasources. Probably the best solution is to allow that Special Advanced Filter to deal with this need by itself instead of depending on this new one.
Learned some new stuff today. Because we have the need to OR the results. e.g, Means basically Anything that matches OCR given a search Token + Anything that matches also Metadata from an ADO, the actual query behavior is a bit more complex but Solarium provides all the pieces I need for an dereferenced query (for that use case), but also, this allows us (inverse need happened to fall into my lap!) to e.g Filter for any ADO that produced OCR, or Text Extraction, etc. Expanding our Faceting (harder but possible) or filtering capabilities (Show me only/ Search only for ADOs that have OCR). @giancarlobi I think you will enjoy this (miss you friend!)
Resolved via https://github.com/esmero/format_strawberryfield/pull/288 and https://github.com/esmero/strawberryfield/pull/258 Will open a new one that selectively does this for advanced search
What?
Allow Unified Full Text Experience by enabling an additional custom Views Filter that modifies the Query to selectively, by inheriting a Full Text Search Filter's options and Input, bring Matched ADOs results based on their Children SBF Solr Documents.
@alliomeria will explain how this works tomorrow. Won't show the how 'just yet' bc I want to have the full solution working and tested first (in code, it actually works already!)