Yeah, Java-like identifiers are best.

You should be able to wrap non-Java names in a "field" function:

fl=field(10th_mark),field(12th_mark)

-- Jack Krupansky

-----Original Message----- From: Raymond Wiker
Sent: Thursday, June 06, 2013 10:12 AM
To: solr-user@lucene.apache.org
Subject: Re: Download CSV, Strange thing is happening !!

I think you'd be better off using field names that look like Java
identifiers - e.g, mark10 instead of 10th_mark.

Actually, let me rephrase that: you SHOULD be using field names that look
like Java identifiers - less headache, all round.


On Thu, Jun 6, 2013 at 4:01 PM, anurag.jain <anurag.k...@gmail.com> wrote:

I have two field in solr, Named as 10th_mark, 12th_mark. Now I want to
download that field in csv so i tried,


http://localhost:8983/solr?q=*:*&wt=csv&start=0&rows=10&fl=10th_mark,12th_mark

But output is something like that,

th_mark
""
""
""
""
""
""
""
""
""
""



But If i put *th_mark it is giving me correct output. But If I Put * then
output comes in Random order, Please give me a way to solve this type of
problem.

Please Reply ASAP,

Thanks



--
View this message in context:
http://lucene.472066.n3.nabble.com/Download-CSV-Strange-thing-is-happening-tp4068599.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to