You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by gh...@apache.org on 2012/05/20 14:36:27 UTC
svn commit: r1340696 -
/roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/business/search/IndexUtil.java
Author: ghuber
Date: Sun May 20 12:36:27 2012
New Revision: 1340696
URL: http://svn.apache.org/viewvc?rev=1340696&view=rev
Log:
For the v delete to work.
Modified:
roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/business/search/IndexUtil.java
Modified: roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/business/search/IndexUtil.java
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/business/search/IndexUtil.java?rev=1340696&r1=1340695&r2=1340696&view=diff
==============================================================================
--- roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/business/search/IndexUtil.java (original)
+++ roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/business/search/IndexUtil.java Sun May 20 12:36:27 2012
@@ -62,8 +62,8 @@ public class IndexUtil {
// tokens) during indexing. When set, when a token is stopped (omitted),
// the position increment of the following token is incremented.
- // Min length 3 characters
- tokens = new LengthFilter(true, tokens, 3, Integer.MAX_VALUE);
+ // Min length 1 characters
+ tokens = new LengthFilter(true, tokens, 1, Integer.MAX_VALUE);
CharTermAttribute termAtt = (CharTermAttribute) tokens
.addAttribute(CharTermAttribute.class);