Skip to content

Commit

Permalink
Merge pull request querqy#6 from querqy/termcache
Browse files Browse the repository at this point in the history
Add possibility to configure generation of termcache
  • Loading branch information
JohannesDaniel authored Nov 22, 2023
2 parents b6235ce + 7ced939 commit d0f51a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {

allprojects {
group = 'org.querqy'
version = '1.0.0'
version = '1.0.1-SNAPSHOT'
}

ext {
Expand Down Expand Up @@ -100,14 +100,14 @@ publishing {
}
}
}

/*
signing {
def signingKey = findProperty("signingKey")
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mavenJava
}

*/

javadoc {
if(JavaVersion.current().isJava9Compatible()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// TODO: termCache, selectionStrategyFactories

@Builder
@NoArgsConstructor
@NoArgsConstructor(force = true)
@AllArgsConstructor
@Data
@EqualsAndHashCode(exclude = {"boostMethod", "querqyParserFactory"})
Expand All @@ -27,6 +27,7 @@ public class CommonRulesDefinition {

@Builder.Default private boolean ignoreCase = true;
@Builder.Default private boolean allowBooleanInput = false;
@Builder.Default private boolean buildTermCache = false;
@Builder.Default private BoostInstruction.BoostMethod boostMethod = BoostInstruction.BoostMethod.ADDITIVE;
@Builder.Default private QuerqyParserFactory querqyParserFactory = new WhiteSpaceQuerqyParserFactory();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public SimpleCommonRulesRewriterFactory build() {
definition.isIgnoreCase(),
Collections.emptyMap(),
new ExpressionCriteriaSelectionStrategyFactory(),
false
definition.isBuildTermCache()
);

} catch (IOException e) {
Expand Down

0 comments on commit d0f51a3

Please sign in to comment.