com.plumtree.server
Class PT_SEARCH_WARNING

java.lang.Object
  extended by 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.

Version:
$Revision$
Author:
CraigS
See Also:
IPTSearchResponse

Field Summary
static int PT_SEARCHWARNING_NONE
          No warning
static int PT_SEARCHWARNING_QUERY_IS_PARTIAL
          Search cluster was in some way "incomplete" and a partial result set was returned.
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()
           
 
Method Summary
 
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

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

PT_SEARCHWARNING_QUERY_IS_PARTIAL

public static final int PT_SEARCHWARNING_QUERY_IS_PARTIAL
Search cluster was in some way "incomplete" and a partial result set was returned.

See Also:
Constant Field Values
Constructor Detail

PT_SEARCH_WARNING

public PT_SEARCH_WARNING()


Copyright 2008 Plumtree Software Inc. All Rights Reserved.