tamaramata / solrnet

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

Filter Query #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I want filter using "" as empty data

(ISolrQuery)Query.Field("Name").Is("\"\"");

so the result query should be like &fq=Name:""
but its not working and i found query is generating like this

 &fq=Name:\"\"

thanks

Original issue reported on code.google.com by aminul.d...@gmail.com on 2 Jun 2011 at 8:37

GoogleCodeExporter commented 8 years ago
Query.Field("Name").Is("") should work.

Original comment by mauricio...@gmail.com on 2 Jun 2011 at 9:15

GoogleCodeExporter commented 8 years ago
I downloaded dll file from this link
http://code.google.com/p/solrnet/downloads/list   version 0.3.1
and its not working

now i had to get source code and debug and i found its fix in source code but 
not in compiled version dll

https://github.com/mausch/SolrNet

thanks

Original comment by aminul.d...@gmail.com on 2 Jun 2011 at 9:38

GoogleCodeExporter commented 8 years ago
Just tested this against 0.3.1 and it works: 
https://github.com/mausch/SolrNet/commit/7232706ae6f4c2e7d70331fbbb3db8066bf833e
2

Can you submit a failing test?

Original comment by mauricio...@gmail.com on 2 Jun 2011 at 11:44

GoogleCodeExporter commented 8 years ago
I have replace with your latest dll file  and now it's working and i can't
regenerate

Original comment by aminul.d...@gmail.com on 3 Jun 2011 at 1:28

GoogleCodeExporter commented 8 years ago
Bummer, I wanted to check if this was a bug in 0.3.1...

Original comment by mauricio...@gmail.com on 3 Jun 2011 at 1:42

GoogleCodeExporter commented 8 years ago

Original comment by mauricio...@gmail.com on 3 Jun 2011 at 3:33