public enum FTQuery extends Enum<FTQuery> implements INumberEnum<Integer>
Enum Constant and Description |
---|
FUZZY
set if fuzzy search wanted
|
NOINDEX
Search w/o index, requires a
IDTable to specify
the docs to create a temporary index. |
NUMDOCS_ONLY
Return # hits only; not the documents
|
REFINE
Refine the query using the
IDTable |
RETURN_HIGHLIGHT_STRINGS
return highlight strings
|
RETURN_IDTABLE
Return ID table, can be read via
FTQueryResult.getMatchesWithScore() |
SCORES
Return document scores (default sort)
|
SORT_ASCENDING
Sort in ascending order (e.g.
|
SORT_DATE_CREATED
Sort by created date (default is to sort by modified date)
|
SORT_DATE_MODIFIED
Sort results by last modified date (modified in this replica, returned by
DominoOriginatorId.getSequenceTime() in the OID read via Document.getOID() |
STEM_WORDS
Stem words in this query
|
THESAURUS_WORDS
Thesaurus words in this query
|
TOP_SCORES
Use Limit arg.
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static FTQuery |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FTQuery[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FTQuery NUMDOCS_ONLY
public static final FTQuery SCORES
public static final FTQuery RETURN_IDTABLE
FTQueryResult.getMatchesWithScore()
public static final FTQuery TOP_SCORES
public static final FTQuery STEM_WORDS
public static final FTQuery THESAURUS_WORDS
public static final FTQuery NOINDEX
IDTable
to specify
the docs to create a temporary index. By default, not more
than 5000 docs can be specified here. Use Notes.ini variable
TEMP_INDEX_MAX_DOC to increase this limit.public static final FTQuery FUZZY
public static final FTQuery RETURN_HIGHLIGHT_STRINGS
public static final FTQuery SORT_DATE_MODIFIED
DominoOriginatorId.getSequenceTime()
in the OID read via Document.getOID()
public static final FTQuery SORT_DATE_CREATED
public static FTQuery[] values()
for (FTQuery c : FTQuery.values()) System.out.println(c);
public static FTQuery valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2019–2021 HCL. All rights reserved.