Question: When doing a filter query in SOLR, what is the difference between these

```
1. fq=+gallery_type:0^100 +content_length:14

```

and

```
2. fq=(gallery_type:0^100 AND content_length:14)

```

The filter for content\_length (which I'm using for debugging purposes, I have a different filter I want to add) only gets applied on the second version, but from what i see here <http://wiki.apache.org/solr/CommonQueryParameters#fq> the first version should be used for multiple conditions.

I basically want to add an extra filter to existing filters that are currently joined with "+"

Thanks

Answer: 
fq=+gallery\_type:0^100 +content\_length:14 => depends of (schema.xml) 

```
<solrQueryParser defaultOperator="AND"/>

```

fq=(gallery\_type:0^100 AND content\_length:14) => define operator
The "+" sign says that the query term is **MANDATORY** So for your first query BOTH must be present.

If the default operator is set to OR or AND it wont make a difference as both must be present. 

Therefore both queries will give the same result