Skip to content

OAK-12146 Use the latest elastic OR lucene index, if there are multip…

1b2622f
Select commit
Loading
Failed to load commit list.
Open

OAK-12146 Use the latest elastic OR lucene index, if there are multiple #2813

OAK-12146 Use the latest elastic OR lucene index, if there are multip…
1b2622f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 31, 2026 in 2m 37s

Annotations

Check warning on line 74 in oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/IndexNameTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertEquals instead.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0ltYpZ3TOoRD_-O1QJ&open=AZ0ltYpZ3TOoRD_-O1QJ&pullRequest=2813

Check failure on line 122 in oak-it-osgi/src/test/java/org/apache/jackrabbit/oak/osgi/IndexVersionSelectionIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ1DSW4ITcW8K0Jqy4O-&open=AZ1DSW4ITcW8K0Jqy4O-&pullRequest=2813

Check failure on line 142 in oak-it-osgi/src/test/java/org/apache/jackrabbit/oak/osgi/IndexVersionSelectionIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ1DSW4ITcW8K0Jqy4O_&open=AZ1DSW4ITcW8K0Jqy4O_&pullRequest=2813

Check warning on line 153 in oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/FulltextIndex.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This branch's code block is the same as the block for the branch on line 146.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0ltYuO3TOoRD_-O1QP&open=AZ0ltYuO3TOoRD_-O1QP&pullRequest=2813

Check warning on line 76 in oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/IndexNameTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertEquals instead.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0ltYpZ3TOoRD_-O1QL&open=AZ0ltYpZ3TOoRD_-O1QL&pullRequest=2813

Check warning on line 267 in oak-it-osgi/src/test/java/org/apache/jackrabbit/oak/osgi/IndexVersionSelectionIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.net.URISyntaxException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ1DSW4ITcW8K0Jqy4PA&open=AZ1DSW4ITcW8K0Jqy4PA&pullRequest=2813

Check warning on line 75 in oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/IndexNameTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertEquals instead.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0ltYpZ3TOoRD_-O1QK&open=AZ0ltYpZ3TOoRD_-O1QK&pullRequest=2813

Check warning on line 73 in oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/IndexNameTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertEquals instead.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0ltYpZ3TOoRD_-O1QI&open=AZ0ltYpZ3TOoRD_-O1QI&pullRequest=2813

Check failure on line 132 in oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/FulltextIndex.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0ltYuO3TOoRD_-O1QO&open=AZ0ltYuO3TOoRD_-O1QO&pullRequest=2813