AW: SolrJ | Atomic Updates | How works exactly?

2013-01-13 Thread Uwe Clement
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:erickerick...@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.clem...@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.



AW: SolrJ | Atomic Updates | How works exactly?

2013-01-13 Thread Uwe Clement
Thanks Yonik.

Is this already working well on solr 4.0? or better to wait until solr
4.1?!


-Ursprüngliche Nachricht-
Von: ysee...@gmail.com [mailto:ysee...@gmail.com] Im Auftrag von Yonik
Seeley
Gesendet: Sonntag, 13. Januar 2013 20.24
An: solr-user@lucene.apache.org
Betreff: Re: SolrJ | Atomic Updates | How works exactly?

On Sun, Jan 13, 2013 at 1:51 PM, Uwe Clement uwe.clem...@exxcellent.de
wrote:
 What is the best the most performant way to update a large document?

That *is* the best way to update a large document that we currently have.
Although it re-indexes under the covers, it ensures that it's atomic, and
it's faster because it does everything in a single request.

-Yonik
http://lucidworks.com