org.alfresco.repo.search.impl.lucene
Class LuceneFunction

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.repo.search.impl.lucene.LuceneFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class LuceneFunction
extends java.lang.Enum

Functions that can be applied to lucene fields Currently upper and lower that perform a case insensitive match for untokenised fields. (If the field is tokenised the match should already be case insensitive.)

See Also:
Serialized Form

Field Summary
static LuceneFunction FIELD
          A normal lucene field match.
static LuceneFunction LOWER
          Match as if the field was converted to lower case.
static LuceneFunction UPPER
          Match as if the field was converted to upper case.
 
Method Summary
static LuceneFunction valueOf(java.lang.String name)
           
static LuceneFunction[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UPPER

public static final LuceneFunction UPPER
Match as if the field was converted to upper case.


LOWER

public static final LuceneFunction LOWER
Match as if the field was converted to lower case.


FIELD

public static final LuceneFunction FIELD
A normal lucene field match.

Method Detail

values

public static LuceneFunction[] values()

valueOf

public static LuceneFunction valueOf(java.lang.String name)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.