Hi All,


I am  new to apache solr. Recently  I could able to configure the solr with
tomcat successfully. And its working fine except the format of the search
results i.e., the format of the search results not displaying as like as
input document.



I am doing the below things



1.       Indexing the xml file into solr

2.       Format of the xml as below

*<doc>*

<field name="*F1*">some text</field>

        <field name="*F2*"> Title1: descriptions of the title

Title2 : description of the title2

Title3 : description of title3

</field>

<field name="*F3*">some text </field>

</doc>



3.       After index, the results are displaying in the below format.



*F1 : *some text

*F2*: Title1: descriptions of the title Title2 : description of the title2
Title3 : description of title3

*F3*: some text



*Expected Result :*



*F1 : *some text

*F2*: Title1: descriptions of the title

      Title2 : description of the title2

      Title3 : description of title3

*F3*: some text





If we see the F2 field, format id getting changed i.e., input format is of
F2 field is line by line for each sub title, but in the result it
displaying as single line.





I would like to display the result like whenever any subtitle occurs in xml
file for any field, that subtitle should display in the next  line in the
results.



Can anyone please help on this. Thanks in advance.





Regards,

Ramesh p.y

-- 
Ramesh P.Y
pyrames...@gmail.com
Mobile No:+91-9176361984

Reply via email to