List Info

Thread: Commented: (SOLR-139) Support updateable/modifiable documents




Commented: (SOLR-139) Support updateable/modifiable documents
country flaguser name
United States
2007-07-13 15:44:05
    [ https://issues.apache.org/jira/browse/SO
LR-139?page=com.atlassian.jira.plugin.system.issuetabpanels:
comment-tabpanel#action_12512613 ] 

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

> 
> The update handler could call the processor when it was
time to do the manipulation too.
> 

What are you thinking?  Adding the processor as a parameter
to AddUpdateCommand?

> ... ParallelReader, where some fields are in one
sub-index  ...

the processor would ask the updateHandler for the existing
document - the updateHandler deals with getting it to/from
the right place.

we could add something like:
  Document getDocumentFromPendingOrCommited( String indexId
)
to UpdateHandler and then that is taken care of.

Other then extracting the old document, what needs to be
done that cant be done in the processor?  

> 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-doc
uments-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.


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )