public class SearchModifier
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static SearchModifier |
BOOST
Specifies that the relevance level of matching documents based on the terms found should be increased.
|
static SearchModifier |
FUZZY
Specifies that a fuzzy search algorithm will be enabled.
|
static SearchModifier |
PROXIMITY
Specifies searching for terms within a specific distance.
|
Modifier and Type | Method and Description |
---|---|
static SearchModifier |
getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the
*_AS_INT fields). |
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this instance. |
public static final SearchModifier BOOST
public static final SearchModifier PROXIMITY
public static final SearchModifier FUZZY
public int getValue()
public static SearchModifier getInstanceFromInt(int value)
*_AS_INT
fields).value
- An integer representing a particular static instance of this class.RefreshMode
instance.EngineRuntimeException
- Thrown when the value
parameter
is null
or invalid.public java.lang.String toString()
String
representation of this instance.toString
in class java.lang.Object
String
representing the instance.© Copyright IBM Corporation 2006, 2015. All rights reserved.