tamaramata / solrnet

Automatically exported from code.google.com/p/solrnet
0 stars 0 forks source link

Can't combine more than 3 queries #171

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an array of queries
2. Combine them

for (var i = 0; i < queryFields.Count; i++)
            {
                query += queryFields[i];
            }

What is the expected output? What do you see instead?

You get a properly generated SolrMultipleCriteriaQuery.

You only get the last 2. (array size of 2?)

Other info:
I actually correctly used SolrMultipleCriteriaQuery now, since I didn't see 
that. Just thought it was a bug anyway.

Original issue reported on code.google.com by Sar...@gmail.com on 20 Jan 2012 at 2:46

GoogleCodeExporter commented 8 years ago
I just tested this and it works correctly: 
https://github.com/mausch/SolrNet/commit/e7017bddf4c66ebb95eed67a15c1d9510c296e9
5

Original comment by mauricio...@gmail.com on 23 Jan 2012 at 1:42