Solr partial document index update

I use Solr and Solr: a cellular plugin for indexing and searching documents and metadata with rich text.

DEFINITION: solr_document = tuple (rich_text_document, metadata1, metadata2)

I want to reindex some solr_documents when changing metadata, but only the parts in solr_document that cause, not the whole solr_documnt, because parsing and extracting text from rich text documents is expensive and pointless since the rich text document has not been modified.

Does Solr support partial document index updates?

Extras:
I use Solr through sunspot in a Rails application. One of the main sunspot developers says here :

Solr does not support the concept of partial updates - under the hood, updating a document actually consists of removing it from the index and re-adding it. So, Sunspot should each time draw up a complete change document; this is an unfortunate limitation in terms of performance, but it is quite fundamental to how Sol and Lutsen work.

Is there anything that can be done, maybe Solr: Cell allows something?

+3
source share
1 answer

Does Solr support partial document index updates?

Nope. Check out the FAQ .

Is there anything that can be done?

Yes, IIRC had a problem in the JIRA project about it. Look, ask what is missing, contribute to the efforts to implement it.

+3
source

All Articles