parameters: (self, operator_value_dict, logical_operator, parsed, group)
return_statement: return query_list
docstring: Special Query builder for FullText queries: merge all values having the
        same operator into just one query, to save SQL server from the burden to
        do multiple fulltext lookups when one would suit the purpose.
docstring_summary: Special Query builder for FullText queries: merge all values having the
        same operator into just one query, to save SQL server from the burden to
        do multiple fulltext lookups when one would suit the purpose.
docstring_tokens: Special Query builder for FullText queries : merge all values having the same operator into just one query to save SQL server from the burden to do multiple fulltext lookups when one would suit the purpose .
function: def _buildQuery(self, operator_value_dict, logical_operator, parsed, group):
      """
        Special Query builder for FullText queries: merge all values having the
        same operator into just one query, to save SQL server from the burden to
        do multiple fulltext lookups when one would suit the purpose.
      """
      column = self.getColumn()
      query_list = []
      append = query_list.append
      for comparison_operator in ('mroonga', 'mroonga_boolean'):
        value_list = operator_value_dict.pop(comparison_operator, [])
        if not value_list:
          continue
        if logical_operator == 'and':
          joined_value = ' '.join(value_list)
          append(SimpleQuery(search_key=self,
                             comparison_operator=comparison_operator,
                             group=group, **{column:joined_value}))
        else:
          # TODO : We can join to one query like 'aaa OR (bbb ccc) OR "ddd eee"'.
          for value in value_list:
            append(SimpleQuery(search_key=self,
                               comparison_operator=comparison_operator,
                               group=group, **{column:value}))
      # Other comparison operators are handled by the super class.
      if operator_value_dict:
        query_list += super(MroongaFullTextKey, self)._buildQuery(
          operator_value_dict, logical_operator, parsed, group)
      return query_list
function_tokens: def _buildQuery ( self , operator_value_dict , logical_operator , parsed , group ) : column = self . getColumn ( ) query_list = [ ] append = query_list . append for comparison_operator in ( 'mroonga' , 'mroonga_boolean' ) : value_list = operator_value_dict . pop ( comparison_operator , [ ] ) if not value_list : continue if logical_operator == 'and' : joined_value = ' ' . join ( value_list ) append ( SimpleQuery ( search_key = self , comparison_operator = comparison_operator , group = group , * * { column : joined_value } ) ) else : # TODO : We can join to one query like 'aaa OR (bbb ccc) OR "ddd eee"'. for value in value_list : append ( SimpleQuery ( search_key = self , comparison_operator = comparison_operator , group = group , * * { column : value } ) ) # Other comparison operators are handled by the super class. if operator_value_dict : query_list += super ( MroongaFullTextKey , self ) . _buildQuery ( operator_value_dict , logical_operator , parsed , group ) return query_list