Thomas Mueller created OAK-12553:
------------------------------------
Summary: Cleanup old Facet code
Key: OAK-12553
URL: https://issues.apache.org/jira/browse/OAK-12553
Project: Jackrabbit Oak
Issue Type: Improvement
Reporter: Thomas Mueller
For OAK-10549 we had to implement a quick fix for the customer. This results in
old code that should be removed, unless we find a bug in the new code.
This issue is about removing that old legacy code.
https://github.com/apache/jackrabbit-oak/pull/1215/changes
https://github.com/apache/jackrabbit-oak/compare/trunk...oak-indexing:jackrabbit-oak:OAK-8898
I think we can remove this section:
{noformat}
public final static String CACHE_FACET_RESULTS_NAME =
"oak.lucene.cacheFacetResults";
private final boolean CACHE_FACET_RESULTS =
Boolean.parseBoolean(System.getProperty(CACHE_FACET_RESULTS_NAME,
"true"));
public final static String EAGER_FACET_CACHE_FILL_NAME =
"oak.lucene.cacheFacetEagerFill";
private final static boolean EAGER_FACET_CACHE_FILL =
Boolean.parseBoolean(System.getProperty(EAGER_FACET_CACHE_FILL_NAME, "true"));
public final static String OLD_FACET_PROVIDER_CONFIG_NAME =
"oak.lucene.oldFacetProvider";
private final static boolean OLD_FACET_PROVIDER =
Boolean.getBoolean(OLD_FACET_PROVIDER_CONFIG_NAME);
public final static String
OLD_FACET_PROVIDER_TEST_FAILURE_SLEEP_INSTRUMENT_NAME =
"oak.lucene.oldFacetProviderTestFailSleepInstrument";
private final static int
OLD_FACET_PROVIDER_TEST_FAILURE_SLEEP_INSTRUMENT_VALUE =
Integer.getInteger(OLD_FACET_PROVIDER_TEST_FAILURE_SLEEP_INSTRUMENT_NAME, 0);
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)