Class SearchTemplates.DefaultTermParser

  • All Implemented Interfaces:
    SearchTemplates.TermParser
    Enclosing class:
    SearchTemplates

    public static class SearchTemplates.DefaultTermParser
    extends Object
    implements SearchTemplates.TermParser
    Adds each term as a filter parameter using the name 'termX' where X is the index of the term. For the argument: {'fname', 'lname' }, produces:
         {
           'term1' => 'fname',
           'term2' => 'lname',
         }