nd-common
Version:
316 lines (315 loc) • 9.28 kB
TypeScript
export declare enum SearchFlags {
FlagsZero = 0,
FlagsStartFullResult = 1,
FlagsLds = 2,
FlagsLdsDeleted = 4,
FlagsAllowWorkspace = 8,
FlagsForceAlt = 16,
SubdocumentSearch = 32,
FullUrl = 64,
FlagsReturnExpandedTeaser = 128,
FlagsIncludeVersionInResults = 256,
FlagsSortModDate = 512,
FlagsSortTitle = 1024,
FlagsSortRank = 2048,
FlagsSortEmailId = 16777216,
FlagsSpellSuggest = 4096,
FlagsLemmatize = 8192,
FlagsNavigate = 16384,
FlagsSortAscending = 32768,
FlagsSortDescending = 65536,
FlagsSortPersonalize = 536870912,
FlagsNavOnly = 131072,
FlagsNeedDocVec = 262144,
FlagsFindSimilar = 524288,
FlagsWorkSpaceFilter = 1048576,
FlagsSystemSearch = 2097152,
FlagsUserProvidedAcl = 4194304,
FlagsTolerantOfSlowResults = 8388608,
FlagsHighlight = 33554432,
FullShards = 67108864,
FullShardsMD = 134217728,
FullShardsFT = 268435456,
}
/**
* Enum of query fields. It is possible that someone could create more than 99
* custom attributes, but unlikely. If it ever happens we just need to add more.
* @enum
*/
export declare enum QueryField {
Relevance = -1,
Allparts = 0,
Allparts1 = 1,
Acl = 2,
Title = 3,
NetbinderName = 4,
CreateDate = 5,
CreateDateYear = 501,
CreateDateMonth = 502,
CreateDateWeek = 503,
CreateDateDay = 504,
CreateDateWeekOfYear = 505,
Creator = 6,
LastModDate = 7,
LastModDateYear = 701,
LastModDateMonth = 702,
LastModDateWeek = 703,
LastModDateDay = 704,
LastModDateWeekOfYear = 705,
LastModUser = 8,
Cabinets = 10,
Extension = 11,
CalDateStart = 12,
CalDateEnd = 112,
TopFolder = 13,
Unprofiled = 14,
DeletedCabs = 15,
FolderEnvurl = 16,
XmlTo = 17,
XmlCc = 18,
XmlFrom = 19,
JumboFolders = 20,
Concepts = 21,
Companies = 22,
PersonNames = 23,
Locations = 24,
Emails = 25,
Dates = 126,
DocDateTime = 26,
EmailAttach = 27,
EmailAttachExt = 28,
EmailAttachCount = 29,
EmailDomain = 30,
EmailId = 31,
EnvUrl = 32,
OfficialVersionNumber = 33,
VersionsCount = 34,
Source = 35,
SourceId = 36,
Nationality = 37,
Religion = 38,
CreditCardNumbers = 39,
SocialSecurityNumbers = 40,
PhoneNumbers = 41,
Distance = 42,
Latitude = 43,
Longitude = 44,
URLs = 45,
Time = 46,
Numbers = 47,
Products = 48,
Money = 49,
TitlePerson = 50,
TitleEntity = 51,
AclState = 52,
CheckedOutUser = 54,
CheckedOutDate = 55,
CheckedOut = 56,
Content = 70,
SortBy = 997,
FastFlags = 998,
DocId = 999,
Approved = 201,
Locked = 202,
Signed = 203,
CustomAttr00 = 1000,
CustomAttr01 = 1001,
CustomAttr02 = 1002,
CustomAttr03 = 1003,
CustomAttr04 = 1004,
CustomAttr05 = 1005,
CustomAttr06 = 1006,
CustomAttr07 = 1007,
CustomAttr08 = 1008,
CustomAttr09 = 1009,
CustomAttr10 = 1010,
CustomAttr11 = 1011,
CustomAttr12 = 1012,
CustomAttr13 = 1013,
CustomAttr14 = 1014,
CustomAttr15 = 1015,
CustomAttr16 = 1016,
CustomAttr17 = 1017,
CustomAttr18 = 1018,
CustomAttr19 = 1019,
CustomAttr20 = 1020,
CustomAttr21 = 1021,
CustomAttr22 = 1022,
CustomAttr23 = 1023,
CustomAttr24 = 1024,
CustomAttr25 = 1025,
CustomAttr26 = 1026,
CustomAttr27 = 1027,
CustomAttr28 = 1028,
CustomAttr29 = 1029,
CustomAttr30 = 1030,
CustomAttr31 = 1031,
CustomAttr32 = 1032,
CustomAttr33 = 1033,
CustomAttr34 = 1034,
CustomAttr35 = 1035,
CustomAttr36 = 1036,
CustomAttr37 = 1037,
CustomAttr38 = 1038,
CustomAttr39 = 1039,
CustomAttr40 = 1040,
CustomAttr41 = 1041,
CustomAttr42 = 1042,
CustomAttr43 = 1043,
CustomAttr44 = 1044,
CustomAttr45 = 1045,
CustomAttr46 = 1046,
CustomAttr47 = 1047,
CustomAttr48 = 1048,
CustomAttr49 = 1049,
CustomAttr50 = 1050,
CustomAttr51 = 1051,
CustomAttr52 = 1052,
CustomAttr53 = 1053,
CustomAttr54 = 1054,
CustomAttr55 = 1055,
CustomAttr56 = 1056,
CustomAttr57 = 1057,
CustomAttr58 = 1058,
CustomAttr59 = 1059,
CustomAttr60 = 1060,
CustomAttr61 = 1061,
CustomAttr62 = 1062,
CustomAttr63 = 1063,
CustomAttr64 = 1064,
CustomAttr65 = 1065,
CustomAttr66 = 1066,
CustomAttr67 = 1067,
CustomAttr68 = 1068,
CustomAttr69 = 1069,
CustomAttr70 = 1070,
CustomAttr71 = 1071,
CustomAttr72 = 1072,
CustomAttr73 = 1073,
CustomAttr74 = 1074,
CustomAttr75 = 1075,
CustomAttr76 = 1076,
CustomAttr77 = 1077,
CustomAttr78 = 1078,
CustomAttr79 = 1079,
CustomAttr80 = 1080,
CustomAttr81 = 1081,
CustomAttr82 = 1082,
CustomAttr83 = 1083,
CustomAttr84 = 1084,
CustomAttr85 = 1085,
CustomAttr86 = 1086,
CustomAttr87 = 1087,
CustomAttr88 = 1088,
CustomAttr89 = 1089,
CustomAttr90 = 1090,
CustomAttr91 = 1091,
CustomAttr92 = 1092,
CustomAttr93 = 1093,
CustomAttr94 = 1094,
CustomAttr95 = 1095,
CustomAttr96 = 1096,
CustomAttr97 = 1097,
CustomAttr98 = 1098,
CustomAttr99 = 1099,
CustomAttr00Description = 11000,
CustomAttr01Description = 11001,
CustomAttr02Description = 11002,
CustomAttr03Description = 11003,
CustomAttr04Description = 11004,
CustomAttr05Description = 11005,
CustomAttr06Description = 11006,
CustomAttr07Description = 11007,
CustomAttr08Description = 11008,
CustomAttr09Description = 11009,
CustomAttr10Description = 11010,
CustomAttr11Description = 11011,
CustomAttr12Description = 11012,
CustomAttr13Description = 11013,
CustomAttr14Description = 11014,
CustomAttr15Description = 11015,
CustomAttr16Description = 11016,
CustomAttr17Description = 11017,
CustomAttr18Description = 11018,
CustomAttr19Description = 11019,
CustomAttr20Description = 11020,
CustomAttr21Description = 11021,
CustomAttr22Description = 11022,
CustomAttr23Description = 11023,
CustomAttr24Description = 11024,
CustomAttr25Description = 11025,
CustomAttr26Description = 11026,
CustomAttr27Description = 11027,
CustomAttr28Description = 11028,
CustomAttr29Description = 11029,
CustomAttr30Description = 11030,
CustomAttr31Description = 11031,
CustomAttr32Description = 11032,
CustomAttr33Description = 11033,
CustomAttr34Description = 11034,
CustomAttr35Description = 11035,
CustomAttr36Description = 11036,
CustomAttr37Description = 11037,
CustomAttr38Description = 11038,
CustomAttr39Description = 11039,
CustomAttr40Description = 11040,
CustomAttr41Description = 11041,
CustomAttr42Description = 11042,
CustomAttr43Description = 11043,
CustomAttr44Description = 11044,
CustomAttr45Description = 11045,
CustomAttr46Description = 11046,
CustomAttr47Description = 11047,
CustomAttr48Description = 11048,
CustomAttr49Description = 11049,
CustomAttr50Description = 11050,
CustomAttr51Description = 11051,
CustomAttr52Description = 11052,
CustomAttr53Description = 11053,
CustomAttr54Description = 11054,
CustomAttr55Description = 11055,
CustomAttr56Description = 11056,
CustomAttr57Description = 11057,
CustomAttr58Description = 11058,
CustomAttr59Description = 11059,
CustomAttr60Description = 11060,
CustomAttr61Description = 11061,
CustomAttr62Description = 11062,
CustomAttr63Description = 11063,
CustomAttr64Description = 11064,
CustomAttr65Description = 11065,
CustomAttr66Description = 11066,
CustomAttr67Description = 11067,
CustomAttr68Description = 11068,
CustomAttr69Description = 11069,
CustomAttr70Description = 11070,
CustomAttr71Description = 11071,
CustomAttr72Description = 11072,
CustomAttr73Description = 11073,
CustomAttr74Description = 11074,
CustomAttr75Description = 11075,
CustomAttr76Description = 11076,
CustomAttr77Description = 11077,
CustomAttr78Description = 11078,
CustomAttr79Description = 11079,
CustomAttr80Description = 11080,
CustomAttr81Description = 11081,
CustomAttr82Description = 11082,
CustomAttr83Description = 11083,
CustomAttr84Description = 11084,
CustomAttr85Description = 11085,
CustomAttr86Description = 11086,
CustomAttr87Description = 11087,
CustomAttr88Description = 11088,
CustomAttr89Description = 11089,
CustomAttr90Description = 11090,
CustomAttr91Description = 11091,
CustomAttr92Description = 11092,
CustomAttr93Description = 11093,
CustomAttr94Description = 11094,
CustomAttr95Description = 11095,
CustomAttr96Description = 11096,
CustomAttr97Description = 11097,
CustomAttr98Description = 11098,
CustomAttr99Description = 11099,
}