Re: field value getting null with special char

2011-09-27 Thread Ranveer
Hi Erick, I am using SolrQuery.setFields and following are my code : query.setParam("fq", "type:Livescore"); query.addSortField("last_updated", ORDER.desc); query.setRows(5); I think solr is connecting to server because with same query I am getting field value other than special char field val

Re: field value getting null with special char

2011-09-24 Thread Erick Erickson
I can't imagine that the ( or ) is a problem. So I think we need to see how you're using SolrJ. In particular, are you asking for the field in question to be returned (e.g. SolrQuery.setFields or addField)? Second question: Are you sure your SolrJ is connecting to the server you connect to with th

Re: field value getting null with special char

2011-09-20 Thread Ranveer Kumar
Is any help.. I am unable to figure out.. On 20-Sep-2011 2:22 PM, "Ranveer" wrote: > Hi All, > > I am facing problem to get value from solr server for a particular field. > My environment is : > Red hat 5.3 > Solr 3.3 > Jdk 1.6.24 > Tomcat 6.2x > Fetching value using SolrJ > > When using *:* on br

field value getting null with special char

2011-09-20 Thread Ranveer
Hi All, I am facing problem to get value from solr server for a particular field. My environment is : Red hat 5.3 Solr 3.3 Jdk 1.6.24 Tomcat 6.2x Fetching value using SolrJ When using *:* on browser it show but when using solrj all value coming except few fields those have special char. Scori