lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Clement" <uwe.clem...@exxcellent.de>
Subject AW: SolrJ | Atomic Updates | How works exactly?
Date Sun, 13 Jan 2013 18:51:04 GMT
Thanks erick,

the main reason why i want to use atomic updates is, to increase updating
existing kind of large documents.

So if under to cover, everything is the same (loading the whole doc,
updating, re-index the whole doc) it is not interesting for me anymore.

What is the best the most performant way to update a large document?

Any recommendations?

THANKS!

-----Urspr√ľngliche Nachricht-----
Von: Erick Erickson [mailto:erickerickson@gmail.com]
Gesendet: Sonntag, 13. Januar 2013 16.53
An: solr-user@lucene.apache.org
Betreff: Re: SolrJ | Atomic Updates | How works exactly?

Atomic updates work by storing (stored="true") all the fields (note, you
don't have to set stored="true" for the destinations of copyField).
Anyway, when you use the atomic update syntax under the covers Solr reads
all the stored fields out, re-assembles the document and re-indexes it. So
your index may be significantly larger. Also note that in the 4.1 world,
stored fields are automatically compressed so this may not be so much of a
problem.

And, there's been at least 1 or 2 fixes to this since 4.0 as I remember,
so you might want to wait for 4.1 to experiment with (there's talk of
cutting
RC1 for Solr4.1 early next week) or use a nightly build.

Best
Erick


On Sun, Jan 13, 2013 at 3:43 AM, uwe72 <uwe.clement@exxcellent.de> wrote:

> i have very big documents in the index.
>
> i want to update a multivalue field of a document, without loading the
> whole document.
>
> how can i do this?
>
> is there somewhere a good documentation?
>
> regards
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/SolrJ-Atomic-Updates-How-works-exac
> tly-tp4032976.html Sent from the Solr - User mailing list archive at
> Nabble.com.
>

Mime
View raw message