What happens if you just supply it as CDATA into a string field? Store, no
index, probably compressed and lazy.

Regards,
    Alex
On 20 Dec 2012 09:30, "Modou DIA" <modo...@gmail.com> wrote:

> Hi everybody,
>
> i'm newbie with Solr technologies but in the past i worked with lucene
> and another solution similar to Solr.
> I'm working with solr 4.0. I use solrj for embedding an Solr server in
> a cocoon 2.1 application.
>
> I want to know if it's possible to store (without indexing) a field
> containing a xml sequence. I mean a field which can store xml data in
> indexes without losing xpath informations.
>
> For exemple, this's a document to index:
>
> <add>
>   <doc>
>     <field name="id">id_1</field>
>     <field name="info">testing</field>
>     <field name="subdoc">
>       <subdoc id="id_1">
>         <data>testing</data>
>       </subdoc>
>     </field>
>   </doc>
> ...
> </add>
>
> As you can see, the field named subdoc contains an xml sequence.
>
> So, when i query the indexes, i want to retrieve the data in subdoc
> and i want to conserve the xml markup.
>
> Thank you for your help.
> --
> ----------
> | Modou DIA
> | modo...@gmail.com
> ----------
>

Reply via email to