On Jan 11, 2007, at 1:29 AM, Ryan McKinley wrote:
mode="add or replace fields"
mode="add fields"
mode="add distinct fields"
The reason i ask is that i would like to frequently update a few
fields without having to know anything about the other fields.
If you can implement a way to do this efficiently with Lucene, you
will be my (and many others) hero!
In Lucene to update a document the operation is really a delete
followed by an add. You will need to add the complete document as
there is no such "update only a field" semantics in Lucene.
If all fields are stored, the implementation could simply pull them
all into memory on the Solr side and add the document as if it had
been sent entirely by the client. But, what happens when for un-
stored fields?
Erik