lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (JIRA)" <>
Subject [jira] [Updated] (SOLR-4085) Commit-free ExternalFileField
Date Thu, 15 Nov 2012 21:01:12 GMT


Mikhail Khludnev updated SOLR-4085:

    Attachment: SOLR-4085.patch

pls find patch with test coverage

Key design points:
- does not rely on file timestamp, just count number of reloads as a version
- version is held by every externalfilefield key. 
- every FFValueSource receives current version timestam, and uses it for equality check -
quite important for queryResultCache 
- addresses stale cache entry problem. after field is reloaded new queries refers to it are
not equal to the older ones that allows evict old entries from queryResultCache, etc
- doesn't covers atomicity problem when main query refers to the same field twice, one of
them can be reloaded after another one is already in use
- support warming after commit. file is read and later provides cache hits;
- concurrent reloads (including lazy one) may lead to not really pleasant behavior. user should
protect from such races externally anyway. 
> Commit-free ExternalFileField
> -----------------------------
>                 Key: SOLR-4085
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>    Affects Versions: 4.1
>            Reporter: Mikhail Khludnev
>              Labels: externalfilefield
>         Attachments: SOLR-4085.patch
> Let's reload ExternalFileFields without commit!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message