Aggregate widget for basic String field, in search form
I am currently trying to configure a Search form containing a widget that would work as the “Terms” widget, but that would query Nuxeo after the user enter some characters in the edit zone of the widget. Indeed, if I simply use the widget “Terms” on a field that contains customer references, Nuxeo will include all the customer references until the “Max returned buckets” has been reached. Afterwards, if the user types a customer reference that was not included during the search form generation by Nuxeo, it fails by returning nothing, although the search term actually matches some documents in the repository.
What would be the best way to achieve this goal? Refactor the “Terms” widget? Or is there a simpler solution?