|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.dts.client.match.MatchType
public class MatchType
Provides a typesafe enum pattern for the match type. The match type requested may be a complete match, an undermatch, or a partial undermatch.
A Complete Match is the first and most exact method of matching the text search (pattern) string. Through Complete Match, a match occurs and a concept is retrieved when the concept term (target string) contains the same words as the specified pattern string, in any order. Every concept term (target string) in the knowledgebase that contains all the words in the pattern string (in any order) is retrieved.
The second matching option is called Under Match. When Under Match is selected, Complete Match is attempted first; if no matches occur, Under Match is attempted. Through Under Match, a match occurs if the target string matches the pattern string words (in any order) and the target string also contains words in addition to those in the pattern string.
The third matching option is called Partial Under Match. If Partial Under Match is selected, and no matches occur from the Complete Match, Under Match is attempted. If no matches occur from Under Match, Partial Under Match match is attempted. Through Partial Under Match, a match occurs if the target string contains all remaining words (in any order) after certain words in the pattern string have been discarded as part of 2 cycles.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
Field Summary | |
---|---|
static MatchType |
COMPLETE_MATCH
|
static MatchType |
PARTIAL_UNDERMATCH
|
static MatchType |
UNDERMATCH
|
Method Summary | |
---|---|
String |
toString()
Get string for match type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final MatchType COMPLETE_MATCH
public static final MatchType UNDERMATCH
public static final MatchType PARTIAL_UNDERMATCH
Method Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |