Vignesh,
Update the fl parameter with the keyword field you defined in your schema file which will return the keywords attached to the document. Thanks, SureshKumar.S ________________________________ From: vignesh <vignes...@ninestars.in> Sent: Wednesday, April 23, 2014 1:04 PM To: solr-user@lucene.apache.org Subject: Apache Solr 3.6. Hi Team, I am Vignesh and working in Apache Solr 3.6 for my project. Kindly provide me a solution for the post which I have given below. Example 1: Keyword :gardens and the output in JSON format. { "responseHeader":{ "status":0, "QTime":0, "params":{ "fl":"id", "indent":"on", "start":"0", "q":"gardens", "wt":"json", "rows":"10", "version":"2.2"}}, "response":{"numFound":5,"start":0,"docs":[ { "id":"20140205_Anfield_and_Walton_Star_Reg-null_Sup-null_Ed-01_031"}, { "id":"20140205_Stroud_Life_Reg-null_Sup-supplement2_Ed-01_018"}, { "id":"20140206_Suffolk_Free_Press_Reg-null_Sup-null_Ed-01_044"}, { "id":"20140205_Luton_News_Reg-null_Sup-null_Ed-01_052"}, { "id":"20140206_Herald_Express_Reg-null_Sup-null_Ed-01_025"}] }} Example 2: Keyword : gardens+AND+Reception+AND+Lounge+AND+Front and the output in JSON format. { "responseHeader":{ "status":0, "QTime":0, "params":{ "fl":"id", "indent":"on", "start":"0", "q":"gardens OR Reception OR Lounge OR Front", "wt":"json", "rows":"10", "version":"2.2"}}, "response":{"numFound":5,"start":0,"docs":[ { "id":"20140205_East_Grinstead_Courier_Reg-null_Sup-property_Ed-01_017"}, { "id":"20140205_Anfield_and_Walton_Star_Reg-null_Sup-null_Ed-01_031"}, { "id":"20140206_Lytham_St_Annes_Express_Reg-null_Sup-null_Ed-01_046"}, { "id":"20140206_Derbyshire_Times_Reg-null_Sup-supplement_Ed-01_009"}, { "id":"20140206_Washington_Star_Reg-null_Sup-null_Ed-01_027"}] }} In this Example 2 I want keyword list matching a file. Note : In this 5 files some files may contain gardens and some may contain gardens, Front and Lounge. So kindly guide me to get the keyword list like mentioned below. id:20140205_East_Grinstead_Courier_Reg-null_Sup-property_Ed-01_017 Keyword Matched : gardens id:20140206_Washington_Star_Reg-null_Sup-null_Ed-01_027 Keyword Matched : gardens, Lounge. Thanks & Regards. Vignesh.V [cid:image001.jpg@01CA4872.39B33D40] Ninestars Information Technologies Limited., 72, Greams Road, Thousand Lights, Chennai - 600 006. India. Landline : +91 44 2829 4226 / 36 / 56 X: 144 www.ninestars.in ________________________________ STOP Virus, STOP SPAM, SAVE Bandwidth! www.safentrix.com<http://www.safentrix.com/adlink?cid=0> ________________________________ [Aspire Systems] This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.