Technically, update and add are identical from a user perspective - you don't need to worry about whether the document already exists.

But, there is another, newer form of update, "selective" or "atomic" which is updating a subset of the fields in an existing document without needing to re-send all of the other fields of the existing document.
See:
http://wiki.apache.org/solr/Atomic_Updates

But... none of this has to do with "indexing" vs. "reindexing"... you need to be clear what real question you are trying to ask, otherwise we can keeping following your questions, answering each in detail, bouncing all over the place without understanding what it is that you are really looking for.

More specifically, what exactly is the problem you are trying to solve?

-- Jack Krupansky

-----Original Message----- From: Furkan KAMACI
Sent: Thursday, April 04, 2013 2:45 AM
To: solr-user@lucene.apache.org
Subject: Re: Difference Between Indexing and Reindexing

Hi Otis, then what is the difference between add and update? And how we
update or add documents into Solr (I see that there is just one update
handler)?


2013/4/4 Otis Gospodnetic <otis.gospodne...@gmail.com>

I don't recall what Nutch does, so it's hard to tell.

In Solr (Lucene, really), you can:
* add documents
* update documents
* delete documents

Currently, update is really a delete + readd under the hood.  It's
been like that for 13+ years, but this may change:
https://issues.apache.org/jira/browse/LUCENE-4258

Otis
--
Solr & ElasticSearch Support
http://sematext.com/





On Wed, Apr 3, 2013 at 9:15 PM, Furkan KAMACI <furkankam...@gmail.com>
wrote:
> OK, This could be a so easy question but I want to learn just a bit more
> technical detail of it.
> When I use Nutch to send documents to Solr to be indexing there are two
> parameters:
>
> -index and -reindex.
>
> What Solr does at each one different from the other one?


Reply via email to