[ 
https://issues.apache.org/jira/browse/SOLR-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512628
 ] 

Ryan McKinley commented on SOLR-139:
------------------------------------

> 
> ... avoid touching the less-modified/bigger fields ...
> 

aaah, perhaps a future updateHandler getDocument() function could take a list 
of fields it should extract.  Still problems with what to do when you add it.. 
maybe it checks if anything has changed in the less-modified index?  I see your 
point.

>> What are you thinking? Adding the processor as a parameter to 
>> AddUpdateCommand?
> 
> I didn't have a clear alternative... I was just pointing out the future 
> pitfalls of assuming too much implementation knowledge.
> 

I am fine either way -- in the UpdateHandler or the Processors.  

Request plumbing-wise, it feels the most natural in a processor.  But if we 
rework the AddUpdateCommand it could fit there too.  I don't know if it is an 
advantage or disadvantage to have the 'modify' parameters tied to the command 
or the parameters.  either way has its +-, with no real winner (or loser) IMO

In the end, I want to make sure that I never need a custom UpdateHandler (80% 
is greek to me), but can easily change the 'modify' logic.

> Support updateable/modifiable documents
> ---------------------------------------
>
>                 Key: SOLR-139
>                 URL: https://issues.apache.org/jira/browse/SOLR-139
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>         Attachments: SOLR-139-IndexDocumentCommand.patch, 
> SOLR-139-IndexDocumentCommand.patch, SOLR-139-IndexDocumentCommand.patch, 
> SOLR-139-IndexDocumentCommand.patch, SOLR-139-IndexDocumentCommand.patch, 
> SOLR-139-IndexDocumentCommand.patch, SOLR-139-IndexDocumentCommand.patch, 
> SOLR-139-IndexDocumentCommand.patch, SOLR-139-IndexDocumentCommand.patch, 
> SOLR-139-IndexDocumentCommand.patch, SOLR-139-IndexDocumentCommand.patch, 
> SOLR-139-ModifyInputDocuments.patch, SOLR-139-ModifyInputDocuments.patch, 
> SOLR-139-XmlUpdater.patch, 
> SOLR-269+139-ModifiableDocumentUpdateProcessor.patch
>
>
> It would be nice to be able to update some fields on a document without 
> having to insert the entire document.
> Given the way lucene is structured, (for now) one can only modify stored 
> fields.
> While we are at it, we can support incrementing an existing value - I think 
> this only makes sense for numbers.
> for background, see:
> http://www.nabble.com/loading-many-documents-by-ID-tf3145666.html#a8722293

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to