lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (SOLR-139) Support updateable/modifiable documents
Date Sun, 04 Feb 2007 20:09:05 GMT


Yonik Seeley commented on SOLR-139:

> I added a second searcher to DirectUpdatehandler2 that is only closed when you call commit();

That's OK for right now, but longer term we should re-use the other searcher.
Previously, the searcher was only used for deletions, hence we always had to close it before
we opened a writer.
If it's going to be used for doc retrieval now, we should change closeSearcher() to flushDeletes()
and only really close the searcher if there had been deletes pending (from our current deleteByQuery

> Support updateable/modifiable documents
> ---------------------------------------
>                 Key: SOLR-139
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Ryan McKinley
>         Attachments: SOLR-139-IndexDocumentCommand.patch, SOLR-139-IndexDocumentCommand.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:

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

View raw message