roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [roller] branch master updated: Fix mispelling
Date Sun, 16 Dec 2018 14:47:24 GMT
This is an automated email from the ASF dual-hosted git repository.

snoopdave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git


The following commit(s) were added to refs/heads/master by this push:
     new af67f5c  Fix mispelling
af67f5c is described below

commit af67f5c59ae7129c68015c56c0f928a39b943e1f
Author: Dave Johnson <snoopdave@gmail.com>
AuthorDate: Sun Dec 16 09:47:16 2018 -0500

    Fix mispelling
---
 .../roller/weblogger/business/search/operations/IndexOperation.java     | 2 +-
 .../main/resources/org/apache/roller/weblogger/config/roller.properties | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/main/java/org/apache/roller/weblogger/business/search/operations/IndexOperation.java
b/app/src/main/java/org/apache/roller/weblogger/business/search/operations/IndexOperation.java
index dd54dd3..a851327 100644
--- a/app/src/main/java/org/apache/roller/weblogger/business/search/operations/IndexOperation.java
+++ b/app/src/main/java/org/apache/roller/weblogger/business/search/operations/IndexOperation.java
@@ -171,7 +171,7 @@ public abstract class IndexOperation implements Runnable {
 
             LimitTokenCountAnalyzer analyzer = new LimitTokenCountAnalyzer(
                     IndexManagerImpl.getAnalyzer(),
-                    WebloggerConfig.getIntProperty("lucene.anaylzer.maxTokenCount"));
+                    WebloggerConfig.getIntProperty("lucene.analyzer.maxTokenCount"));
 
             IndexWriterConfig config = new IndexWriterConfig(
                     FieldConstants.LUCENE_VERSION, analyzer);
diff --git a/app/src/main/resources/org/apache/roller/weblogger/config/roller.properties b/app/src/main/resources/org/apache/roller/weblogger/config/roller.properties
index 3f858d1..4a4eeb8 100644
--- a/app/src/main/resources/org/apache/roller/weblogger/config/roller.properties
+++ b/app/src/main/resources/org/apache/roller/weblogger/config/roller.properties
@@ -643,7 +643,7 @@ eclipselink.persistence-context.flush-mode=auto
 
 # Lucene configurations
 lucene.analyzer.class=org.apache.lucene.analysis.standard.StandardAnalyzer
-lucene.anaylzer.maxTokenCount=1000
+lucene.analyzer.maxTokenCount=1000
 
 #-----------------------------------------------------------------------------
 # Experimental, deprecated and "undocumented" settings


Mime
View raw message