Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move bloom addon settings to separate file
- Loading branch information
1 parent
b1eccb9
commit f116167
Showing
7 changed files
with
95 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...va/org/neo4j/kernel/api/impl/fulltext/integrations/bloom/LoadableBloomFulltextConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.neo4j.kernel.api.impl.fulltext.integrations.bloom; | ||
|
||
import java.util.List; | ||
|
||
import org.neo4j.configuration.Description; | ||
import org.neo4j.configuration.Internal; | ||
import org.neo4j.configuration.LoadableConfig; | ||
import org.neo4j.graphdb.config.Setting; | ||
|
||
import static org.neo4j.kernel.configuration.Settings.NO_DEFAULT; | ||
import static org.neo4j.kernel.configuration.Settings.STRING; | ||
import static org.neo4j.kernel.configuration.Settings.STRING_LIST; | ||
import static org.neo4j.kernel.configuration.Settings.setting; | ||
|
||
public class LoadableBloomFulltextConfig implements LoadableConfig | ||
{ | ||
|
||
// Bloom index | ||
@Internal | ||
public static final Setting<List<String>> bloom_indexed_properties = setting( "unsupported.dbms.bloom_indexed_properties", STRING_LIST, NO_DEFAULT ); | ||
|
||
@Description( "Define the analyzer to use for the bloom index. Expects the fully qualified classname of the analyzer to use" ) | ||
@Internal | ||
public static final Setting<String> bloom_analyzer = | ||
setting( "unsupported.dbms.bloom_analyzer", STRING, "org.apache.lucene.analysis.standard.StandardAnalyzer" ); | ||
|
||
} |
1 change: 1 addition & 0 deletions
1
...ulltext-addon/src/main/resources/META-INF/services/org.neo4j.configuration.LoadableConfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.neo4j.kernel.api.impl.fulltext.integrations.bloom.LoadableBloomFulltextConfig |
Oops, something went wrong.