com.plumtree.server
Class PT_SEARCH_WARNING

java.lang.Object
  |
  +--com.plumtree.server.PT_SEARCH_WARNING

public final class PT_SEARCH_WARNING
extends java.lang.Object

This enumeration lists all the warning codes that can be returned by IPTSearchResponse.GetWarning. The existence of a nonzero warning code does not indicate that the search failed, but it does indicate some condition that had an effect on the returned results and that should be presented to an end-user.

See Also:
IPTSearchResponse

Field Summary
static int PT_SEARCHWARNING_NONE
          No warning
static int PT_SEARCHWARNING_QUERY_TIMED_OUT
          Query processing (not the connection to the search server) timed out, and a partial result set was returned.
static int PT_SEARCHWARNING_WILDCARD_TOO_GENERAL
          A very general wildcard query was issued (such as "a*").
 
Constructor Summary
PT_SEARCH_WARNING()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PT_SEARCHWARNING_NONE

public static final int PT_SEARCHWARNING_NONE
No warning

PT_SEARCHWARNING_QUERY_TIMED_OUT

public static final int PT_SEARCHWARNING_QUERY_TIMED_OUT
Query processing (not the connection to the search server) timed out, and a partial result set was returned.

PT_SEARCHWARNING_WILDCARD_TOO_GENERAL

public static final int PT_SEARCHWARNING_WILDCARD_TOO_GENERAL
A very general wildcard query was issued (such as "a*"). The search server expanded it into some number of terms matching the pattern, but not every matching result was returned.
Constructor Detail

PT_SEARCH_WARNING

public PT_SEARCH_WARNING()


Copyright © 2003 Plumtree Software Inc. All Rights Reserved.