dativebase/dativerf

Problem: cannot search forms: advanced textual search

Opened this issue · 0 comments

Problem

A user cannot perform an advanced search over forms in DativeRF. An advanced search lets the user take advantage of the full search functionality of the OLD. This allows for a filter expression as an unbounded tree of filter expressions whose nodes are and, or and not.

Acceptance Criteria

  • The user can click the search function and perform an advanced textual search
    • I recommend an EDN-based text search, e.g., [:and [:= [:transcription] "dog"] [:regex [:translations :transcription] "[Cc]hiens?"]] as this should be trivial to convert into the JSON-based search language that the OLD natively supports.
      • This recommendation is not set in stone. The important thing is to make the search input format be the same as or isomorphic to the filter data structure that the OLD supports. Some research into the OLD and/or existing Dative will be necessary here. The OLD's form search tests would be a good starting point.

Blocked By

  • #40 because we need the initial search interface.