List Info

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




Updated: (SOLR-139) Support updateable/modifiable documents
country flaguser name
United States
2007-07-18 12:56:05
     [ 
https://issues.apache.org/jira/browse/SOLR-139?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-139:
------------------------------

    Attachment: getStoredFields.patch

Here's a patch that adds getStoredFields to updateHandler.
Changes include leaving the searcher open as long as
possible (and in conjunction with the writer, if the reader
has no unflushed deletions).  This would allow reuse of a
single index searcher when modifying multiple documents that
are not in the pending set.

No tests for getStoredFields() yet... I plan on a
comprehensive update handler test that uses multiple threads
to try and flush out any possible concurrency bugs. 

> 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: getStoredFields.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-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 )