org.alfresco.repo.search.impl.lucene
Class LuceneFunction
java.lang.Object
java.lang.Enum
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
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 |
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.
values
public static LuceneFunction[] values()
valueOf
public static LuceneFunction valueOf(java.lang.String name)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.