lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-11336) DocBasedVersionConstraintsProcessor should be more extensible
Date Fri, 01 Dec 2017 16:16:00 GMT


David Smiley commented on SOLR-11336:

bq. As the next step I want to extend it to process multiple versions at once - this fair
to do as part of this?


> DocBasedVersionConstraintsProcessor should be more extensible
> -------------------------------------------------------------
>                 Key: SOLR-11336
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Michael Braun
>            Priority: Minor
>         Attachments: SOLR-11336.patch
> DocBasedVersionConstraintsProcessor supports allowing document updates only if the new
version is greater than the old. However, if any behavior wants to be extended / changed in
minor ways, the entire class will need to be copied and slightly modified rather than extending
and changing the method in question. 
> It would be nice if DocBasedVersionConstraintsProcessor stood on its own as a non-private
class. In addition, certain methods (such as pieces of isVersionNewEnough) should be broken
out into separate methods so they can be extended such that someone can extend the processor
class and override what it means for a new version to be accepted (allowing equal versions
through? What if new is a lower not greater number?). 

This message was sent by Atlassian JIRA

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

View raw message