Re: Search for empty string in 1.4.1 vs 3.4

2011-09-28 Thread Shanmugavel SRD
Thank you for the reply Chris.
Please find the sample query which is returning results even though id is
not having any value as "" in SOLR 1.4.1

http://localhost/solr/online/select/?q=%28%20state%20%29^1.8%20AND%20%20%28%20%28id:%22%22%29%29%20AND%20%20%28%20%28content_type_s:%22Video%22%29^1.5%20%29

PS: id is multivalued=false. Any field with multivalued as false works like
this {returning results on search of ""} in SOLR 1.4.1. But at the same time
q=id:"" is not returning any results in SOLR 1.4.1. This problem happens
when there is AND clause with id:""

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-for-empty-string-in-1-4-1-vs-3-4-tp3358444p3375436.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Search for empty string in 1.4.1 vs 3.4

2011-09-27 Thread Chris Hostetter

:   I am using SOLR 1.4.1. When I search for empty string in a string field,
: q=tag_facet:"", it return documents with values in tag_facet.

I can't reproduce the behavior you are describing.

when i query the Solr 1.4.1 example with the following URL...

http://localhost:8983/solr/select/?q=id:%22%22

...it returns no documents, because there are no documents with a value of 
"" indexed in the "id" string field.

If you can reproduce the behavior you are describing, please open a bug 
and attach configs/data files that others can use to demonstrate the same 
behavior -- although if you can't reproduce in 3.x, then it sounds like 
whatever issue it may be (if any) has already been fixed.

-Hoss


Search for empty string in 1.4.1 vs 3.4

2011-09-22 Thread Shanmugavel SRD
Hi,
  I am using SOLR 1.4.1. When I search for empty string in a string field,
q=tag_facet:"", it return documents with values in tag_facet.
  When I use the same query q=tag_facet:"", in SOLR 3.4, it is returning
only documents with "" string in tag_facet. 
  SOLR 3.4 works as expected. I just want to know whether it is an issue in
SOLR 1.4.1. Please advise.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-for-empty-string-in-1-4-1-vs-3-4-tp3358444p3358444.html
Sent from the Solr - User mailing list archive at Nabble.com.