As I know when you resend another index request with some old ID, old field
but new content, the old one gets overwritten by the new one.
@solr-users, Views???

--Ahmed


On Mon, May 4, 2009 at 5:26 PM, appleman1982 <prasad.jug...@gmail.com>wrote:

>
> Hi All,
> I have a requirement wherein i want to update an existing index in solr.
> For example : I have issued an index command in solr as
> <add>
> <doc>
> <field name="id">123</field>
> <field name="name">xxx</field>
> </doc>
> </add>
>
> The id field is a unique key here.
>
> My requirement is that i should be able to update this inex i.e add another
> field to it without the need to build the entire index again.
> For example
> if i issue the following solr command
> <add>
> <doc>
> <field name="id">123</field>
> <field name="location">delhi</field>
> </doc>
> </add>
>
> it should give me a merged index like
> <add>
> <doc>
> <field name="id">123</field>
> <field name="name">xxx</field>
> <field name="location">delhi</field>
> </doc>
> </add>
>
>
> Any pointers or workarounds to achieve this in solr would be highly
> appreciated.
>
> Thanks, Jugesh
> --
> View this message in context:
> http://www.nabble.com/Update-an-existing-Solr-Index-tp23366705p23366705.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to