anchor.diff:      SearchSelector =
           if
               Search /= [] ->
  -                [{"metadata", string:join([Key || Key <- Search], "+")}];
  +                [{"metadata", string:join(Search, "+")}];
               true ->
                   []
           end,
   
       TypesSelector =
  -        case Types of
  -            [Type|_] ->
  -                [{"type", Type}];
  -            _ ->
  -                []
  +        if
  +            Types == [] ->
  +                [];
  +            true ->
  +                [" (" ++ string:join(["type:" ++ Type || Type <- Types], " OR ") ++ ") "]
           end,
   
       TimeRange =
  
positive.code:                         [] ->
                              [];
                          _ ->
                              " +" ++ params_to_query(Tail)
                      end.
  
  list({Location, Domain}, Search, {From, _}, Types, DateStart, DateEnd, Parent, Start, Rows, Order) ->
      [Host] = utils:get(config:get(solr), [host], [?DEFAULT_HOST]),
  
negative.code: 
          [{array, [Id]},
           {array, [Domain]},
           Datetime,
           {array, [Location]},
           {array, [From]},
           {array, [To]},
  