You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/04/01 01:09:14 UTC
[21/62] [abbrv] lucenenet git commit: Deleted obsolete Contrib folder
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/02362804/src/contrib/DistributedSearch/LuceneMonitorSetup/LuceneMonitorSetup.vdproj
----------------------------------------------------------------------
diff --git a/src/contrib/DistributedSearch/LuceneMonitorSetup/LuceneMonitorSetup.vdproj b/src/contrib/DistributedSearch/LuceneMonitorSetup/LuceneMonitorSetup.vdproj
deleted file mode 100644
index ac8bf0d..0000000
--- a/src/contrib/DistributedSearch/LuceneMonitorSetup/LuceneMonitorSetup.vdproj
+++ /dev/null
@@ -1,948 +0,0 @@
-"DeployProject"
-{
-"VSVersion" = "3:800"
-"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}"
-"IsWebType" = "8:FALSE"
-"ProjectName" = "8:LuceneMonitorSetup"
-"LanguageId" = "3:1033"
-"CodePage" = "3:1252"
-"UILanguageId" = "3:1033"
-"SccProjectName" = "8:"
-"SccLocalPath" = "8:"
-"SccAuxPath" = "8:"
-"SccProvider" = "8:"
- "Hierarchy"
- {
- "Entry"
- {
- "MsmKey" = "8:_6545B309814340059856839B576A0786"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_711008CE85074C879ECD646B3E27CC98"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_7611FBFF73DA1BAA6E80B219D72BF699"
- "OwnerKey" = "8:_711008CE85074C879ECD646B3E27CC98"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_926CC283F3131799E3290BD2D592EB9A"
- "OwnerKey" = "8:_711008CE85074C879ECD646B3E27CC98"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_997A0B9F366FB65016027EA26EA95286"
- "OwnerKey" = "8:_711008CE85074C879ECD646B3E27CC98"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_997A0B9F366FB65016027EA26EA95286"
- "OwnerKey" = "8:_7611FBFF73DA1BAA6E80B219D72BF699"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_UNDEFINED"
- "OwnerKey" = "8:_997A0B9F366FB65016027EA26EA95286"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_UNDEFINED"
- "OwnerKey" = "8:_711008CE85074C879ECD646B3E27CC98"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_UNDEFINED"
- "OwnerKey" = "8:_7611FBFF73DA1BAA6E80B219D72BF699"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
- "MsmKey" = "8:_UNDEFINED"
- "OwnerKey" = "8:_926CC283F3131799E3290BD2D592EB9A"
- "MsmSig" = "8:_UNDEFINED"
- }
- }
- "Configurations"
- {
- "Debug"
- {
- "DisplayName" = "8:Debug"
- "IsDebugOnly" = "11:TRUE"
- "IsReleaseOnly" = "11:FALSE"
- "OutputFilename" = "8:Debug\\LuceneMonitorSetup.msi"
- "PackageFilesAs" = "3:2"
- "PackageFileSize" = "3:-2147483648"
- "CabType" = "3:1"
- "Compression" = "3:2"
- "SignOutput" = "11:FALSE"
- "CertificateFile" = "8:"
- "PrivateKeyFile" = "8:"
- "TimeStampServer" = "8:"
- "InstallerBootstrapper" = "3:2"
- "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
- {
- "Enabled" = "11:TRUE"
- "PromptEnabled" = "11:TRUE"
- "PrerequisitesLocation" = "2:1"
- "Url" = "8:"
- "ComponentsUrl" = "8:"
- "Items"
- {
- "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Net.Framework.2.0"
- {
- "Name" = "8:.NET Framework 2.0"
- "ProductCode" = "8:Microsoft.Net.Framework.2.0"
- }
- "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1"
- {
- "Name" = "8:Windows Installer 3.1"
- "ProductCode" = "8:Microsoft.Windows.Installer.3.1"
- }
- }
- }
- }
- "Release"
- {
- "DisplayName" = "8:Release"
- "IsDebugOnly" = "11:FALSE"
- "IsReleaseOnly" = "11:TRUE"
- "OutputFilename" = "8:Release\\LuceneMonitorSetup.msi"
- "PackageFilesAs" = "3:2"
- "PackageFileSize" = "3:-2147483648"
- "CabType" = "3:1"
- "Compression" = "3:2"
- "SignOutput" = "11:FALSE"
- "CertificateFile" = "8:"
- "PrivateKeyFile" = "8:"
- "TimeStampServer" = "8:"
- "InstallerBootstrapper" = "3:2"
- "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
- {
- "Enabled" = "11:TRUE"
- "PromptEnabled" = "11:TRUE"
- "PrerequisitesLocation" = "2:1"
- "Url" = "8:"
- "ComponentsUrl" = "8:"
- "Items"
- {
- }
- }
- }
- }
- "Deployable"
- {
- "CustomAction"
- {
- "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_2BCB8054AE5D4B3EAFB5FC0A405F221D"
- {
- "Name" = "8:Primary output from LuceneMonitor (Active)"
- "Condition" = "8:"
- "Object" = "8:_711008CE85074C879ECD646B3E27CC98"
- "FileType" = "3:2"
- "InstallAction" = "3:4"
- "Arguments" = "8:"
- "EntryPoint" = "8:"
- "Sequence" = "3:1"
- "Identifier" = "8:_38753873_2073_4731_A5B4_CC691D324186"
- "InstallerClass" = "11:TRUE"
- "CustomActionData" = "8:"
- }
- "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_4E9120D4C55F42359553E0A2526758F5"
- {
- "Name" = "8:Primary output from LuceneMonitor (Active)"
- "Condition" = "8:"
- "Object" = "8:_711008CE85074C879ECD646B3E27CC98"
- "FileType" = "3:2"
- "InstallAction" = "3:1"
- "Arguments" = "8:"
- "EntryPoint" = "8:"
- "Sequence" = "3:1"
- "Identifier" = "8:_6289D2A5_958A_4098_BC0A_7AE3A19CD2D8"
- "InstallerClass" = "11:TRUE"
- "CustomActionData" = "8:"
- }
- "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_5CEC5F36FC2B42F3854E9F827787D6A2"
- {
- "Name" = "8:Primary output from LuceneMonitor (Active)"
- "Condition" = "8:"
- "Object" = "8:_711008CE85074C879ECD646B3E27CC98"
- "FileType" = "3:2"
- "InstallAction" = "3:2"
- "Arguments" = "8:"
- "EntryPoint" = "8:"
- "Sequence" = "3:1"
- "Identifier" = "8:_FB0C9CFC_A318_47CA_924A_6931E6A0BBB0"
- "InstallerClass" = "11:TRUE"
- "CustomActionData" = "8:"
- }
- "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_60D5889C424C4258A3D159FF6453BEFF"
- {
- "Name" = "8:Primary output from LuceneMonitor (Active)"
- "Condition" = "8:"
- "Object" = "8:_711008CE85074C879ECD646B3E27CC98"
- "FileType" = "3:2"
- "InstallAction" = "3:3"
- "Arguments" = "8:"
- "EntryPoint" = "8:"
- "Sequence" = "3:1"
- "Identifier" = "8:_E761F7A5_2077_4B23_9D0A_228182DDC8A4"
- "InstallerClass" = "11:TRUE"
- "CustomActionData" = "8:"
- }
- }
- "DefaultFeature"
- {
- "Name" = "8:DefaultFeature"
- "Title" = "8:"
- "Description" = "8:"
- }
- "ExternalPersistence"
- {
- "LaunchCondition"
- {
- "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_24DEF4B7C8B64352BF7B7017E4B2B7B3"
- {
- "Name" = "8:.NET Framework"
- "Message" = "8:[VSDNETMSG]"
- "Version" = "8:2.0.50727"
- "AllowLaterVersions" = "11:FALSE"
- "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=9832"
- "SupportedRuntimes" = "8:1.1.4322"
- }
- }
- }
- "File"
- {
- "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6545B309814340059856839B576A0786"
- {
- "SourcePath" = "8:..\\LuceneMonitor\\LuceneMonitor.exe.config"
- "TargetName" = "8:LuceneMonitor.exe.config"
- "Tag" = "8:"
- "Folder" = "8:_35810F9BB6804D36B485D993E28AE644"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- }
- "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7611FBFF73DA1BAA6E80B219D72BF699"
- {
- "AssemblyRegister" = "3:1"
- "AssemblyIsInGAC" = "11:FALSE"
- "AssemblyAsmDisplayName" = "8:Lucene.Net.Distributed, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL"
- "ScatterAssemblies"
- {
- "_7611FBFF73DA1BAA6E80B219D72BF699"
- {
- "Name" = "8:Lucene.Net.Distributed.dll"
- "Attributes" = "3:512"
- }
- }
- "SourcePath" = "8:Lucene.Net.Distributed.dll"
- "TargetName" = "8:"
- "Tag" = "8:"
- "Folder" = "8:_35810F9BB6804D36B485D993E28AE644"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:TRUE"
- "IsolateTo" = "8:"
- }
- "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_926CC283F3131799E3290BD2D592EB9A"
- {
- "AssemblyRegister" = "3:1"
- "AssemblyIsInGAC" = "11:FALSE"
- "AssemblyAsmDisplayName" = "8:log4net, Version=1.2.10.0, Culture=neutral, processorArchitecture=MSIL"
- "ScatterAssemblies"
- {
- "_926CC283F3131799E3290BD2D592EB9A"
- {
- "Name" = "8:log4net.dll"
- "Attributes" = "3:512"
- }
- }
- "SourcePath" = "8:log4net.dll"
- "TargetName" = "8:"
- "Tag" = "8:"
- "Folder" = "8:_35810F9BB6804D36B485D993E28AE644"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:TRUE"
- "IsolateTo" = "8:"
- }
- "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_997A0B9F366FB65016027EA26EA95286"
- {
- "AssemblyRegister" = "3:1"
- "AssemblyIsInGAC" = "11:FALSE"
- "AssemblyAsmDisplayName" = "8:Lucene.Net, Version=2.0.0.1, Culture=neutral, processorArchitecture=MSIL"
- "ScatterAssemblies"
- {
- "_997A0B9F366FB65016027EA26EA95286"
- {
- "Name" = "8:Lucene.Net.dll"
- "Attributes" = "3:512"
- }
- }
- "SourcePath" = "8:Lucene.Net.dll"
- "TargetName" = "8:"
- "Tag" = "8:"
- "Folder" = "8:_35810F9BB6804D36B485D993E28AE644"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:TRUE"
- "IsolateTo" = "8:"
- }
- }
- "FileType"
- {
- }
- "Folder"
- {
- "{1525181F-901A-416C-8A58-119130FE478E}:_18FBF7653D36477F9118540372332B3C"
- {
- "Name" = "8:#1916"
- "AlwaysCreate" = "11:FALSE"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Property" = "8:DesktopFolder"
- "Folders"
- {
- }
- }
- "{3C67513D-01DD-4637-8A68-80971EB9504F}:_35810F9BB6804D36B485D993E28AE644"
- {
- "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]"
- "Name" = "8:#1925"
- "AlwaysCreate" = "11:FALSE"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Property" = "8:TARGETDIR"
- "Folders"
- {
- }
- }
- "{1525181F-901A-416C-8A58-119130FE478E}:_B93295D7F2A941D1B3AB073F0B49539A"
- {
- "Name" = "8:#1919"
- "AlwaysCreate" = "11:FALSE"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Property" = "8:ProgramMenuFolder"
- "Folders"
- {
- }
- }
- }
- "LaunchCondition"
- {
- }
- "Locator"
- {
- }
- "MsiBootstrapper"
- {
- "LangId" = "3:1033"
- }
- "Product"
- {
- "Name" = "8:Microsoft Visual Studio"
- "ProductName" = "8:LuceneMonitor"
- "ProductCode" = "8:{1D363E4D-1AD5-4809-BBCF-D0702AB85F2C}"
- "PackageCode" = "8:{8DE4C156-09C2-4011-B319-A64F90053350}"
- "UpgradeCode" = "8:{DE02CE7D-88F8-40E0-9589-253D14786013}"
- "RestartWWWService" = "11:FALSE"
- "RemovePreviousVersions" = "11:FALSE"
- "DetectNewerInstalledVersion" = "11:TRUE"
- "InstallAllUsers" = "11:FALSE"
- "ProductVersion" = "8:1.0.0"
- "Manufacturer" = "8:Apache Software Foundation"
- "ARPHELPTELEPHONE" = "8:"
- "ARPHELPLINK" = "8:"
- "Title" = "8:LuceneMonitor"
- "Subject" = "8:"
- "ARPCONTACT" = "8:jeff.rodenburg@gmail.com"
- "Keywords" = "8:"
- "ARPCOMMENTS" = "8:"
- "ARPURLINFOABOUT" = "8:"
- "ARPPRODUCTICON" = "8:"
- "ARPIconIndex" = "3:0"
- "SearchPath" = "8:"
- "UseSystemSearchPath" = "11:TRUE"
- "TargetPlatform" = "3:0"
- "PreBuildEvent" = "8:"
- "PostBuildEvent" = "8:"
- "RunPostBuildEvent" = "3:0"
- }
- "Registry"
- {
- "HKLM"
- {
- "Keys"
- {
- "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_E6CD997D88544B6098F3017F74A30D67"
- {
- "Name" = "8:Software"
- "Condition" = "8:"
- "AlwaysCreate" = "11:FALSE"
- "DeleteAtUninstall" = "11:FALSE"
- "Transitive" = "11:FALSE"
- "Keys"
- {
- "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_A5EE1306439C4FE3AF2DBF47395F0579"
- {
- "Name" = "8:[Manufacturer]"
- "Condition" = "8:"
- "AlwaysCreate" = "11:FALSE"
- "DeleteAtUninstall" = "11:FALSE"
- "Transitive" = "11:FALSE"
- "Keys"
- {
- }
- "Values"
- {
- }
- }
- }
- "Values"
- {
- }
- }
- }
- }
- "HKCU"
- {
- "Keys"
- {
- "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_004E2BDD54D74F6AB3641A069351638E"
- {
- "Name" = "8:Software"
- "Condition" = "8:"
- "AlwaysCreate" = "11:FALSE"
- "DeleteAtUninstall" = "11:FALSE"
- "Transitive" = "11:FALSE"
- "Keys"
- {
- "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_FE80F5F77A5F4453AED709A0E036675B"
- {
- "Name" = "8:[Manufacturer]"
- "Condition" = "8:"
- "AlwaysCreate" = "11:FALSE"
- "DeleteAtUninstall" = "11:FALSE"
- "Transitive" = "11:FALSE"
- "Keys"
- {
- }
- "Values"
- {
- }
- }
- }
- "Values"
- {
- }
- }
- }
- }
- "HKCR"
- {
- "Keys"
- {
- }
- }
- "HKU"
- {
- "Keys"
- {
- }
- }
- "HKPU"
- {
- "Keys"
- {
- }
- }
- }
- "Sequences"
- {
- }
- "Shortcut"
- {
- }
- "UserInterface"
- {
- "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_4895F05F0A8042018B17EFD42120DC1F"
- {
- "UseDynamicProperties" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdUserInterface.wim"
- }
- "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_7AEF7E0320A54486B353706A006A94AB"
- {
- "Name" = "8:#1900"
- "Sequence" = "3:1"
- "Attributes" = "3:1"
- "Dialogs"
- {
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_01139D17F46741F0A490823A9E400BB4"
- {
- "Sequence" = "3:200"
- "DisplayName" = "8:Installation Folder"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdFolderDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- "InstallAllUsersVisible"
- {
- "Name" = "8:InstallAllUsersVisible"
- "DisplayName" = "8:#1059"
- "Description" = "8:#1159"
- "Type" = "3:5"
- "ContextData" = "8:1;True=1;False=0"
- "Attributes" = "3:0"
- "Setting" = "3:0"
- "Value" = "3:1"
- "DefaultValue" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_03F998B5A4EF471597F562741A569483"
- {
- "Sequence" = "3:100"
- "DisplayName" = "8:Welcome"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdWelcomeDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- "CopyrightWarning"
- {
- "Name" = "8:CopyrightWarning"
- "DisplayName" = "8:#1002"
- "Description" = "8:#1102"
- "Type" = "3:3"
- "ContextData" = "8:"
- "Attributes" = "3:0"
- "Setting" = "3:1"
- "Value" = "8:#1202"
- "DefaultValue" = "8:#1202"
- "UsePlugInResources" = "11:TRUE"
- }
- "Welcome"
- {
- "Name" = "8:Welcome"
- "DisplayName" = "8:#1003"
- "Description" = "8:#1103"
- "Type" = "3:3"
- "ContextData" = "8:"
- "Attributes" = "3:0"
- "Setting" = "3:1"
- "Value" = "8:#1203"
- "DefaultValue" = "8:#1203"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B71288BABAF34FBA8A5F40F90C96DD4B"
- {
- "Sequence" = "3:300"
- "DisplayName" = "8:Confirm Installation"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdConfirmDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- }
- }
- "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_A5F65F00E2514284A2A14E0F1179EF1B"
- {
- "Name" = "8:#1900"
- "Sequence" = "3:2"
- "Attributes" = "3:1"
- "Dialogs"
- {
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_2BECF32F307E4DC8882EBD5273DE0FFC"
- {
- "Sequence" = "3:100"
- "DisplayName" = "8:Welcome"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdAdminWelcomeDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- "CopyrightWarning"
- {
- "Name" = "8:CopyrightWarning"
- "DisplayName" = "8:#1002"
- "Description" = "8:#1102"
- "Type" = "3:3"
- "ContextData" = "8:"
- "Attributes" = "3:0"
- "Setting" = "3:1"
- "Value" = "8:#1202"
- "DefaultValue" = "8:#1202"
- "UsePlugInResources" = "11:TRUE"
- }
- "Welcome"
- {
- "Name" = "8:Welcome"
- "DisplayName" = "8:#1003"
- "Description" = "8:#1103"
- "Type" = "3:3"
- "ContextData" = "8:"
- "Attributes" = "3:0"
- "Setting" = "3:1"
- "Value" = "8:#1203"
- "DefaultValue" = "8:#1203"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_856EC81120894AECA68CC14FDC47D73E"
- {
- "Sequence" = "3:300"
- "DisplayName" = "8:Confirm Installation"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdAdminConfirmDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_DC61A20508114126A715BFC0119FC8E2"
- {
- "Sequence" = "3:200"
- "DisplayName" = "8:Installation Folder"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdAdminFolderDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- }
- }
- "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_ADD2B38CB5C443248444CE18ADA3AB02"
- {
- "Name" = "8:#1902"
- "Sequence" = "3:1"
- "Attributes" = "3:3"
- "Dialogs"
- {
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_48A01F7168784F04AA1CD43DE8DB851F"
- {
- "Sequence" = "3:100"
- "DisplayName" = "8:Finished"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdFinishedDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- "UpdateText"
- {
- "Name" = "8:UpdateText"
- "DisplayName" = "8:#1058"
- "Description" = "8:#1158"
- "Type" = "3:15"
- "ContextData" = "8:"
- "Attributes" = "3:0"
- "Setting" = "3:1"
- "Value" = "8:#1258"
- "DefaultValue" = "8:#1258"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- }
- }
- "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_B2A3814F0BB9438EB0501BD4006FB4A3"
- {
- "UseDynamicProperties" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdBasicDialogs.wim"
- }
- "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_B7DE4249ECFD4B98944134355A7887EB"
- {
- "Name" = "8:#1901"
- "Sequence" = "3:1"
- "Attributes" = "3:2"
- "Dialogs"
- {
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_DFAD48D048FE427993A2165164E8D1BC"
- {
- "Sequence" = "3:100"
- "DisplayName" = "8:Progress"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdProgressDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- "ShowProgress"
- {
- "Name" = "8:ShowProgress"
- "DisplayName" = "8:#1009"
- "Description" = "8:#1109"
- "Type" = "3:5"
- "ContextData" = "8:1;True=1;False=0"
- "Attributes" = "3:0"
- "Setting" = "3:0"
- "Value" = "3:1"
- "DefaultValue" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- }
- }
- "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_C81FAE83DE324BC29D7E17F995B66920"
- {
- "Name" = "8:#1901"
- "Sequence" = "3:2"
- "Attributes" = "3:2"
- "Dialogs"
- {
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_96A5A03D1B3C4A9C9A737289E7AD77FB"
- {
- "Sequence" = "3:100"
- "DisplayName" = "8:Progress"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdAdminProgressDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- "ShowProgress"
- {
- "Name" = "8:ShowProgress"
- "DisplayName" = "8:#1009"
- "Description" = "8:#1109"
- "Type" = "3:5"
- "ContextData" = "8:1;True=1;False=0"
- "Attributes" = "3:0"
- "Setting" = "3:0"
- "Value" = "3:1"
- "DefaultValue" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- }
- }
- "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_FED0653A28BB495B93FAFBB6362AED53"
- {
- "Name" = "8:#1902"
- "Sequence" = "3:2"
- "Attributes" = "3:3"
- "Dialogs"
- {
- "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_0F6190984AC84ABA89C234035A326CD8"
- {
- "Sequence" = "3:100"
- "DisplayName" = "8:Finished"
- "UseDynamicProperties" = "11:TRUE"
- "IsDependency" = "11:FALSE"
- "SourcePath" = "8:<VsdDialogDir>\\VsdAdminFinishedDlg.wid"
- "Properties"
- {
- "BannerBitmap"
- {
- "Name" = "8:BannerBitmap"
- "DisplayName" = "8:#1001"
- "Description" = "8:#1101"
- "Type" = "3:8"
- "ContextData" = "8:Bitmap"
- "Attributes" = "3:4"
- "Setting" = "3:1"
- "UsePlugInResources" = "11:TRUE"
- }
- }
- }
- }
- }
- }
- "MergeModule"
- {
- }
- "ProjectOutput"
- {
- "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_711008CE85074C879ECD646B3E27CC98"
- {
- "SourcePath" = "8:..\\LuceneMonitor\\obj\\Debug\\LuceneMonitor.exe"
- "TargetName" = "8:"
- "Tag" = "8:"
- "Folder" = "8:_35810F9BB6804D36B485D993E28AE644"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- "ProjectOutputGroupRegister" = "3:1"
- "OutputConfiguration" = "8:"
- "OutputGroupCanonicalName" = "8:Built"
- "OutputProjectGuid" = "8:{4649C27F-9F22-40D4-8826-FC830B686BE5}"
- "ShowKeyOutput" = "11:TRUE"
- "ExcludeFilters"
- {
- }
- }
- }
- "VJSharpPlugin"
- {
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/02362804/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs
----------------------------------------------------------------------
diff --git a/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs b/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs
deleted file mode 100644
index f7b2f80..0000000
--- a/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs
+++ /dev/null
@@ -1,201 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using Lucene.Net.Documents;
-using Lucene.Net.Search;
-using Lucene.Net.Index;
-
-using WeightedFragInfo = Lucene.Net.Search.Vectorhighlight.FieldFragList.WeightedFragInfo;
-using SubInfo = Lucene.Net.Search.Vectorhighlight.FieldFragList.WeightedFragInfo.SubInfo;
-using Toffs = Lucene.Net.Search.Vectorhighlight.FieldPhraseList.WeightedPhraseInfo.Toffs;
-
-namespace Lucene.Net.Search.Vectorhighlight
-{
- public abstract class BaseFragmentsBuilder : FragmentsBuilder
- {
- protected String[] preTags, postTags;
- public static String[] COLORED_PRE_TAGS = {
- "<b style=\"background:yellow\">", "<b style=\"background:lawngreen\">", "<b style=\"background:aquamarine\">",
- "<b style=\"background:magenta\">", "<b style=\"background:palegreen\">", "<b style=\"background:coral\">",
- "<b style=\"background:wheat\">", "<b style=\"background:khaki\">", "<b style=\"background:lime\">",
- "<b style=\"background:deepskyblue\">", "<b style=\"background:deeppink\">", "<b style=\"background:salmon\">",
- "<b style=\"background:peachpuff\">", "<b style=\"background:violet\">", "<b style=\"background:mediumpurple\">",
- "<b style=\"background:palegoldenrod\">", "<b style=\"background:darkkhaki\">", "<b style=\"background:springgreen\">",
- "<b style=\"background:turquoise\">", "<b style=\"background:powderblue\">"
- };
-
- public static String[] COLORED_POST_TAGS = { "</b>" };
-
- protected BaseFragmentsBuilder()
- : this(new String[] { "<b>" }, new String[] { "</b>" })
- {
-
- }
-
- protected BaseFragmentsBuilder(String[] preTags, String[] postTags)
- {
- this.preTags = preTags;
- this.postTags = postTags;
- }
-
- static Object CheckTagsArgument(Object tags)
- {
- if (tags is String) return tags;
- else if (tags is String[]) return tags;
- throw new ArgumentException("type of preTags/postTags must be a String or String[]");
- }
-
- public abstract List<WeightedFragInfo> GetWeightedFragInfoList(List<WeightedFragInfo> src);
-
- public virtual String CreateFragment(IndexReader reader, int docId, String fieldName, FieldFragList fieldFragList)
- {
- String[] fragments = CreateFragments(reader, docId, fieldName, fieldFragList, 1);
- if (fragments == null || fragments.Length == 0) return null;
- return fragments[0];
- }
-
- public virtual String[] CreateFragments(IndexReader reader, int docId, String fieldName, FieldFragList fieldFragList, int maxNumFragments)
- {
- if (maxNumFragments < 0)
- throw new ArgumentException("maxNumFragments(" + maxNumFragments + ") must be positive number.");
-
- List<WeightedFragInfo> fragInfos = GetWeightedFragInfoList(fieldFragList.fragInfos);
-
- List<String> fragments = new List<String>(maxNumFragments);
- Field[] values = GetFields(reader, docId, fieldName);
- if (values.Length == 0) return null;
- StringBuilder buffer = new StringBuilder();
- int[] nextValueIndex = { 0 };
- for (int n = 0; n < maxNumFragments && n < fragInfos.Count; n++)
- {
- WeightedFragInfo fragInfo = fragInfos[n];
- fragments.Add(MakeFragment(buffer, nextValueIndex, values, fragInfo));
- }
- return fragments.ToArray();
- }
-
- [Obsolete]
- protected virtual String[] GetFieldValues(IndexReader reader, int docId, String fieldName)
- {
- Document doc = reader.Document(docId, new MapFieldSelector(new String[] { fieldName }));
- return doc.GetValues(fieldName); // according to Document class javadoc, this never returns null
- }
-
- protected virtual Field[] GetFields(IndexReader reader, int docId, String fieldName)
- {
- // according to javadoc, doc.getFields(fieldName) cannot be used with lazy loaded field???
- Document doc = reader.Document(docId, new MapFieldSelector(new String[] { fieldName }));
- return doc.GetFields(fieldName); // according to Document class javadoc, this never returns null
- }
-
- [Obsolete]
- protected virtual String MakeFragment(StringBuilder buffer, int[] index, String[] values, WeightedFragInfo fragInfo)
- {
- int s = fragInfo.startOffset;
- return MakeFragment(fragInfo, GetFragmentSource(buffer, index, values, s, fragInfo.endOffset), s);
- }
-
- protected virtual String MakeFragment(StringBuilder buffer, int[] index, Field[] values, WeightedFragInfo fragInfo)
- {
- int s = fragInfo.startOffset;
- return MakeFragment(fragInfo, GetFragmentSource(buffer, index, values, s, fragInfo.endOffset), s);
- }
-
- private String MakeFragment(WeightedFragInfo fragInfo, String src, int s)
- {
- StringBuilder fragment = new StringBuilder();
- int srcIndex = 0;
- foreach (SubInfo subInfo in fragInfo.subInfos)
- {
- foreach (Toffs to in subInfo.termsOffsets)
- {
- fragment.Append(src.Substring(srcIndex, to.startOffset - s - srcIndex)).Append(GetPreTag(subInfo.seqnum))
- .Append(src.Substring(to.startOffset - s, to.endOffset - s - (to.startOffset - s))).Append(GetPostTag(subInfo.seqnum));
- srcIndex = to.endOffset - s;
- }
- }
- fragment.Append(src.Substring(srcIndex));
- return fragment.ToString();
- }
-
- /*
- [Obsolete]
- protected String MakeFragment(StringBuilder buffer, int[] index, String[] values, WeightedFragInfo fragInfo)
- {
- StringBuilder fragment = new StringBuilder();
- int s = fragInfo.startOffset;
- String src = GetFragmentSource(buffer, index, values, s, fragInfo.endOffset);
- int srcIndex = 0;
- foreach (SubInfo subInfo in fragInfo.subInfos)
- {
- foreach (Toffs to in subInfo.termsOffsets)
- {
- fragment.Append(src.Substring(srcIndex, to.startOffset - s - srcIndex)).Append(GetPreTag(subInfo.seqnum))
- .Append(src.Substring(to.startOffset - s, to.endOffset - s - (to.startOffset - s))).Append(GetPostTag(subInfo.seqnum));
- srcIndex = to.endOffset - s;
- }
- }
- fragment.Append(src.Substring(srcIndex));
- return fragment.ToString();
- }
- */
-
-
- [Obsolete]
- protected virtual String GetFragmentSource(StringBuilder buffer, int[] index, String[] values, int startOffset, int endOffset)
- {
- while (buffer.Length < endOffset && index[0] < values.Length)
- {
- buffer.Append(values[index[0]]);
- if (values[index[0]].Length > 0 && index[0] + 1 < values.Length)
- buffer.Append(' ');
- index[0]++;
- }
- int eo = buffer.Length < endOffset ? buffer.Length : endOffset;
- return buffer.ToString().Substring(startOffset, eo - startOffset);
- }
-
- protected virtual String GetFragmentSource(StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset)
- {
- while (buffer.Length < endOffset && index[0] < values.Length)
- {
- buffer.Append(values[index[0]].StringValue);
- if (values[index[0]].IsTokenized && values[index[0]].StringValue.Length > 0 && index[0] + 1 < values.Length)
- buffer.Append(' ');
- index[0]++;
- }
- int eo = buffer.Length < endOffset ? buffer.Length : endOffset;
- return buffer.ToString().Substring(startOffset, eo - startOffset);
- }
-
- protected virtual String GetPreTag(int num)
- {
- int n = num % preTags.Length;
- return preTags[n];
- }
-
- protected virtual String GetPostTag(int num)
- {
- int n = num % postTags.Length;
- return postTags[n];
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/02362804/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj
----------------------------------------------------------------------
diff --git a/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj b/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj
deleted file mode 100644
index 1177e99..0000000
--- a/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj
+++ /dev/null
@@ -1,188 +0,0 @@
-\ufeff<?xml version="1.0" encoding="utf-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{9D2E3153-076F-49C5-B83D-FB2573536B5F}</ProjectGuid>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Lucene.Net.Search.Vectorhighlight</RootNamespace>
- <AssemblyName>Lucene.Net.Contrib.FastVectorHighlighter</AssemblyName>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <OldToolsVersion>3.5</OldToolsVersion>
- <UpgradeBackupLocation>
- </UpgradeBackupLocation>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <Framework>$(TargetFrameworkVersion.Replace("v", "NET").Replace(".", ""))</Framework>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>..\..\..\build\bin\contrib\FastVectorHighlighter\$(Configuration.Replace("35", ""))\$(Framework)\</OutputPath>
- <DefineConstants>TRACE;DEBUG;LUCENENET_350;$(Framework)</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>
- </DocumentationFile>
- <NoWarn>618</NoWarn>
- <OutputType>Library</OutputType>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug35|AnyCPU' ">
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <Framework>$(TargetFrameworkVersion.Replace("v", "NET").Replace(".", ""))</Framework>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>..\..\..\build\bin\contrib\FastVectorHighlighter\$(Configuration.Replace("35", ""))\$(Framework)\</OutputPath>
- <DefineConstants>TRACE;DEBUG;LUCENENET_350;$(Framework)</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>
- </DocumentationFile>
- <NoWarn>618</NoWarn>
- <OutputType>Library</OutputType>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <Framework>$(TargetFrameworkVersion.Replace("v", "NET").Replace(".", ""))</Framework>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\bin\contrib\FastVectorHighlighter\$(Configuration.Replace("35", ""))\$(Framework)\</OutputPath>
- <DefineConstants>TRACE;LUCENENET_350;$(Framework)</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>..\..\..\build\bin\contrib\FastVectorHighlighter\Release\NET40\Lucene.Net.Contrib.FastVectorHighlighter.xml</DocumentationFile>
- <NoWarn>618</NoWarn>
- <DebugSymbols>true</DebugSymbols>
- <OutputType>Library</OutputType>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release35|AnyCPU' ">
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <Framework>$(TargetFrameworkVersion.Replace("v", "NET").Replace(".", ""))</Framework>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>..\..\..\build\bin\contrib\FastVectorHighlighter\$(Configuration.Replace("35", ""))\$(Framework)\</OutputPath>
- <DefineConstants>TRACE;LUCENENET_350;$(Framework)</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>..\..\..\build\bin\contrib\FastVectorHighlighter\Release\NET35\Lucene.Net.Contrib.FastVectorHighlighter.xml</DocumentationFile>
- <NoWarn>618</NoWarn>
- <DebugSymbols>true</DebugSymbols>
- <OutputType>Library</OutputType>
- </PropertyGroup>
- <PropertyGroup>
- <SignAssembly>true</SignAssembly>
- </PropertyGroup>
- <PropertyGroup>
- <AssemblyOriginatorKeyFile>Lucene.Net.snk</AssemblyOriginatorKeyFile>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Condition="'$(Framework)' == 'NET35'" Include="System.Core" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="BaseFragmentsBuilder.cs" />
- <Compile Include="FastVectorHighlighter.cs" />
- <Compile Include="FieldFragList.cs" />
- <Compile Include="FieldPhraseList.cs" />
- <Compile Include="FieldQuery.cs" />
- <Compile Include="FieldTermStack.cs" />
- <Compile Include="FragListBuilder.cs" />
- <Compile Include="FragmentsBuilder.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="ScoreOrderFragmentsBuilder.cs" />
- <Compile Include="SimpleFragListBuilder.cs" />
- <Compile Include="SimpleFragmentsBuilder.cs" />
- <Compile Include="StringUtils.cs" />
- <Compile Include="Support.cs" />
- <Compile Include="VectorHighlightMapper.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="Lucene.Net.snk" />
- <None Include="package.html" />
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\core\Lucene.Net.csproj">
- <Project>{5D4AD9BE-1FFB-41AB-9943-25737971BF57}</Project>
- <Name>Lucene.Net</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/02362804/src/contrib/FastVectorHighlighter/FastVectorHighlighter.cs
----------------------------------------------------------------------
diff --git a/src/contrib/FastVectorHighlighter/FastVectorHighlighter.cs b/src/contrib/FastVectorHighlighter/FastVectorHighlighter.cs
deleted file mode 100644
index 3f599f5..0000000
--- a/src/contrib/FastVectorHighlighter/FastVectorHighlighter.cs
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using Lucene.Net.Index;
-
-namespace Lucene.Net.Search.Vectorhighlight
-{
- public class FastVectorHighlighter
- {
-
- public static bool DEFAULT_PHRASE_HIGHLIGHT = true;
- public static bool DEFAULT_FIELD_MATCH = true;
- private bool phraseHighlight;
- private bool fieldMatch;
- private FragListBuilder fragListBuilder;
- private FragmentsBuilder fragmentsBuilder;
- private int phraseLimit = Int32.MaxValue;
-
- /// <summary>
- /// the default constructor.
- /// </summary>
- public FastVectorHighlighter():this(DEFAULT_PHRASE_HIGHLIGHT, DEFAULT_FIELD_MATCH)
- {
- }
-
- /// <summary>
- /// a constructor. Using SimpleFragListBuilder and ScoreOrderFragmentsBuilder.
- /// </summary>
- /// <param name="phraseHighlight">true or false for phrase highlighting</param>
- /// <param name="fieldMatch">true of false for field matching</param>
- public FastVectorHighlighter(bool phraseHighlight, bool fieldMatch):this(phraseHighlight, fieldMatch, new SimpleFragListBuilder(), new ScoreOrderFragmentsBuilder())
- {
- }
-
- /// <summary>
- /// a constructor. A FragListBuilder and a FragmentsBuilder can be specified (plugins).
- /// </summary>
- /// <param name="phraseHighlight">true of false for phrase highlighting</param>
- /// <param name="fieldMatch">true of false for field matching</param>
- /// <param name="fragListBuilder">an instance of FragListBuilder</param>
- /// <param name="fragmentsBuilder">an instance of FragmentsBuilder</param>
- public FastVectorHighlighter(bool phraseHighlight, bool fieldMatch,
- FragListBuilder fragListBuilder, FragmentsBuilder fragmentsBuilder)
- {
- this.phraseHighlight = phraseHighlight;
- this.fieldMatch = fieldMatch;
- this.fragListBuilder = fragListBuilder;
- this.fragmentsBuilder = fragmentsBuilder;
- }
-
- /// <summary>
- /// create a FieldQuery object.
- /// </summary>
- /// <param name="query">a query</param>
- /// <returns>the created FieldQuery object</returns>
- public FieldQuery GetFieldQuery(Query query)
- {
- return new FieldQuery(query, phraseHighlight, fieldMatch);
- }
-
-
- /// <summary>
- /// return the best fragment.
- /// </summary>
- /// <param name="fieldQuery">FieldQuery object</param>
- /// <param name="reader">IndexReader of the index</param>
- /// <param name="docId">document id to be highlighted</param>
- /// <param name="fieldName">field of the document to be highlighted</param>
- /// <param name="fragCharSize">the length (number of chars) of a fragment</param>
- /// <returns>the best fragment (snippet) string</returns>
- public String GetBestFragment(FieldQuery fieldQuery, IndexReader reader, int docId,
- String fieldName, int fragCharSize)
- {
- FieldFragList fieldFragList = GetFieldFragList(fieldQuery, reader, docId, fieldName, fragCharSize);
- return fragmentsBuilder.CreateFragment(reader, docId, fieldName, fieldFragList);
- }
-
- /// <summary>
- /// return the best fragments.
- /// </summary>
- /// <param name="fieldQuery">FieldQuery object</param>
- /// <param name="reader">IndexReader of the index</param>
- /// <param name="docId">document id to be highlighted</param>
- /// <param name="fieldName">field of the document to be highlighted</param>
- /// <param name="fragCharSize">the length (number of chars) of a fragment</param>
- /// <param name="maxNumFragments">maximum number of fragments</param>
- /// <returns>created fragments or null when no fragments created. Size of the array can be less than maxNumFragments</returns>
- public String[] GetBestFragments(FieldQuery fieldQuery, IndexReader reader, int docId,
- String fieldName, int fragCharSize, int maxNumFragments)
- {
- FieldFragList fieldFragList = GetFieldFragList(fieldQuery, reader, docId, fieldName, fragCharSize);
- return fragmentsBuilder.CreateFragments(reader, docId, fieldName, fieldFragList, maxNumFragments);
- }
-
- private FieldFragList GetFieldFragList(FieldQuery fieldQuery, IndexReader reader, int docId,
- String fieldName, int fragCharSize)
- {
- FieldTermStack fieldTermStack = new FieldTermStack(reader, docId, fieldName, fieldQuery);
- FieldPhraseList fieldPhraseList = new FieldPhraseList(fieldTermStack, fieldQuery, phraseLimit);
- return fragListBuilder.CreateFieldFragList(fieldPhraseList, fragCharSize);
- }
-
- /// <summary>
- /// return whether phraseHighlight or not.
- /// </summary>
- /// <returns>return whether phraseHighlight or not.</returns>
- public bool IsPhraseHighlight()
- {
- return phraseHighlight;
- }
-
- /// <summary>
- /// return whether fieldMatch or not.
- /// </summary>
- /// <returns>return whether fieldMatch or not.</returns>
- public bool IsFieldMatch()
- {
- return fieldMatch;
- }
-
- /// <summary>
- /// The maximum number of phrases to analyze when searching for the highest-scoring phrase.
- /// The default is 5000. To ensure that all phrases are analyzed, use a negative number or Integer.MAX_VALUE.
- /// </summary>
-
- public int PhraseLimit
- {
- get{ return phraseLimit; }
- set{ this.phraseLimit = value; }
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/02362804/src/contrib/FastVectorHighlighter/FieldFragList.cs
----------------------------------------------------------------------
diff --git a/src/contrib/FastVectorHighlighter/FieldFragList.cs b/src/contrib/FastVectorHighlighter/FieldFragList.cs
deleted file mode 100644
index 8f9a566..0000000
--- a/src/contrib/FastVectorHighlighter/FieldFragList.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using Lucene.Net.Documents;
-using Lucene.Net.Search;
-using Lucene.Net.Index;
-
-using Toffs = Lucene.Net.Search.Vectorhighlight.FieldPhraseList.WeightedPhraseInfo.Toffs;
-using WeightedPhraseInfo = Lucene.Net.Search.Vectorhighlight.FieldPhraseList.WeightedPhraseInfo;
-
-
-namespace Lucene.Net.Search.Vectorhighlight
-{
- ///<summary>
- /// FieldFragList has a list of "frag info" that is used by FragmentsBuilder class
- /// to create fragments (snippets).
- ///</summary>
- public class FieldFragList
- {
- private int fragCharSize;
- public List<WeightedFragInfo> fragInfos = new List<WeightedFragInfo>();
-
-
- /// <summary>
- /// a constructor.
- /// </summary>
- /// <param name="fragCharSize">the length (number of chars) of a fragment</param>
- public FieldFragList(int fragCharSize)
- {
- this.fragCharSize = fragCharSize;
- }
-
- /// <summary>
- /// convert the list of WeightedPhraseInfo to WeightedFragInfo, then add it to the fragInfos
- /// </summary>
- /// <param name="startOffset">start offset of the fragment</param>
- /// <param name="endOffset">end offset of the fragment</param>
- /// <param name="phraseInfoList">list of WeightedPhraseInfo objects</param>
- public void Add(int startOffset, int endOffset, List<WeightedPhraseInfo> phraseInfoList)
- {
- fragInfos.Add(new WeightedFragInfo(startOffset, endOffset, phraseInfoList));
- }
-
- public class WeightedFragInfo
- {
-
- internal List<SubInfo> subInfos;
- internal float totalBoost;
- internal int startOffset;
- internal int endOffset;
-
- public WeightedFragInfo(int startOffset, int endOffset, List<WeightedPhraseInfo> phraseInfoList)
- {
- this.startOffset = startOffset;
- this.endOffset = endOffset;
- subInfos = new List<SubInfo>();
- foreach (WeightedPhraseInfo phraseInfo in phraseInfoList)
- {
- SubInfo subInfo = new SubInfo(phraseInfo.text, phraseInfo.termsOffsets, phraseInfo.seqnum);
- subInfos.Add(subInfo);
- totalBoost += phraseInfo.boost;
- }
- }
-
- public override string ToString()
- {
- StringBuilder sb = new StringBuilder();
- sb.Append("subInfos=(");
- foreach (SubInfo si in subInfos)
- sb.Append(si.ToString());
- sb.Append(")/").Append(totalBoost.ToString(".0").Replace(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator,".")).Append('(').Append(startOffset).Append(',').Append(endOffset).Append(')');
- return sb.ToString();
- }
-
- internal class SubInfo
- {
- internal String text; // unnecessary member, just exists for debugging purpose
- internal List<Toffs> termsOffsets; // usually termsOffsets.size() == 1,
- // but if position-gap > 1 and slop > 0 then size() could be greater than 1
- internal int seqnum;
- internal SubInfo(String text, List<Toffs> termsOffsets, int seqnum)
- {
- this.text = text;
- this.termsOffsets = termsOffsets;
- this.seqnum = seqnum;
- }
-
- public override string ToString()
- {
- StringBuilder sb = new StringBuilder();
- sb.Append(text).Append('(');
- foreach (Toffs to in termsOffsets)
- sb.Append(to.ToString());
- sb.Append(')');
- return sb.ToString();
- }
- }
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/02362804/src/contrib/FastVectorHighlighter/FieldPhraseList.cs
----------------------------------------------------------------------
diff --git a/src/contrib/FastVectorHighlighter/FieldPhraseList.cs b/src/contrib/FastVectorHighlighter/FieldPhraseList.cs
deleted file mode 100644
index 2ec3a60..0000000
--- a/src/contrib/FastVectorHighlighter/FieldPhraseList.cs
+++ /dev/null
@@ -1,233 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using Lucene.Net.Documents;
-using Lucene.Net.Search;
-using Lucene.Net.Index;
-
-using TermInfo = Lucene.Net.Search.Vectorhighlight.FieldTermStack.TermInfo;
-using QueryPhraseMap = Lucene.Net.Search.Vectorhighlight.FieldQuery.QueryPhraseMap;
-
-namespace Lucene.Net.Search.Vectorhighlight
-{
- /// <summary>
- /// FieldPhraseList has a list of WeightedPhraseInfo that is used by FragListBuilder
- /// to create a FieldFragList object.
- /// </summary>
- public class FieldPhraseList
- {
- public LinkedList<WeightedPhraseInfo> phraseList = new LinkedList<WeightedPhraseInfo>();
-
- /// <summary>
- /// create a FieldPhraseList that has no limit on the number of phrases to analyze
- /// <param name="fieldQuery">FieldTermStack object</param>
- /// <param name="fieldTermStack">FieldQuery object</param>
- /// </summary>
- public FieldPhraseList(FieldTermStack fieldTermStack, FieldQuery fieldQuery) : this(fieldTermStack, fieldQuery, Int32.MaxValue)
- {
- }
-
-
- /// <summary>
- /// a constructor.
- /// </summary>
- /// <param name="fieldTermStack">FieldTermStack object</param>
- /// <param name="fieldQuery">FieldQuery object</param>
- /// <param name="phraseLimit">maximum size of phraseList</param>
- public FieldPhraseList(FieldTermStack fieldTermStack, FieldQuery fieldQuery, int phraseLimit)
- {
- String field = fieldTermStack.FieldName;
-
- LinkedList<TermInfo> phraseCandidate = new LinkedList<TermInfo>();
- QueryPhraseMap currMap = null;
- QueryPhraseMap nextMap = null;
- while (!fieldTermStack.IsEmpty() && (phraseList.Count < phraseLimit) )
- {
-
- phraseCandidate.Clear();
-
- TermInfo ti = fieldTermStack.Pop();
- currMap = fieldQuery.GetFieldTermMap(field, ti.Text);
-
- // if not found, discard top TermInfo from stack, then try next element
- if (currMap == null) continue;
-
- // if found, search the longest phrase
- phraseCandidate.AddLast(ti);
- while (true)
- {
- ti = fieldTermStack.Pop();
- nextMap = null;
- if (ti != null)
- nextMap = currMap.GetTermMap(ti.Text);
- if (ti == null || nextMap == null)
- {
- if (ti != null)
- fieldTermStack.Push(ti);
- if (currMap.IsValidTermOrPhrase(new List<TermInfo>(phraseCandidate)))
- {
- AddIfNoOverlap(new WeightedPhraseInfo(phraseCandidate, currMap.Boost, currMap.TermOrPhraseNumber));
- }
- else
- {
- while (phraseCandidate.Count > 1)
- {
- TermInfo last = phraseCandidate.Last.Value;
- phraseCandidate.RemoveLast();
- fieldTermStack.Push(last);
- currMap = fieldQuery.SearchPhrase(field, new List<TermInfo>(phraseCandidate));
- if (currMap != null)
- {
- AddIfNoOverlap(new WeightedPhraseInfo(phraseCandidate, currMap.Boost, currMap.TermOrPhraseNumber));
- break;
- }
- }
- }
- break;
- }
- else
- {
- phraseCandidate.AddLast(ti);
- currMap = nextMap;
- }
- }
- }
- }
-
- void AddIfNoOverlap(WeightedPhraseInfo wpi)
- {
- foreach (WeightedPhraseInfo existWpi in phraseList)
- {
- if (existWpi.IsOffsetOverlap(wpi)) return;
- }
- phraseList.AddLast(wpi);
- }
-
- public class WeightedPhraseInfo
- {
-
- internal String text; // unnecessary member, just exists for debugging purpose
- internal List<Toffs> termsOffsets; // usually termsOffsets.size() == 1,
- // but if position-gap > 1 and slop > 0 then size() could be greater than 1
- internal float boost; // query boost
- internal int seqnum;
-
- public WeightedPhraseInfo(LinkedList<TermInfo> terms, float boost): this(terms, boost, 0)
- {
- }
-
- public WeightedPhraseInfo(LinkedList<TermInfo> terms, float boost, int number)
- {
- this.boost = boost;
- this.seqnum = number;
- termsOffsets = new List<Toffs>(terms.Count);
- TermInfo ti = terms.First.Value;
- termsOffsets.Add(new Toffs(ti.StartOffset, ti.EndOffset));
- if (terms.Count == 1)
- {
- text = ti.Text;
- return;
- }
- StringBuilder sb = new StringBuilder();
- sb.Append(ti.Text);
- int pos = ti.Position;
-
- bool dummy = true;
- foreach(TermInfo ti2 in terms)
- //for (int i = 1; i < terms.Count; i++)
- {
- if (dummy) { dummy = false; continue; } //Skip First Item {{DIGY}}
- ti = ti2;
- //ti = terms.get(i);
- sb.Append(ti.Text);
- if (ti.Position - pos == 1)
- {
- Toffs to = termsOffsets[termsOffsets.Count - 1];
- to.SetEndOffset(ti.EndOffset);
- }
- else
- {
- termsOffsets.Add(new Toffs(ti.StartOffset, ti.EndOffset));
- }
- pos = ti.Position;
- }
- text = sb.ToString();
- }
-
- public int StartOffset
- {
- get { return termsOffsets[0].startOffset; }
- }
-
- public int EndOffset
- {
- get { return termsOffsets[termsOffsets.Count - 1].endOffset; }
- }
-
- public bool IsOffsetOverlap(WeightedPhraseInfo other)
- {
- int so = StartOffset;
- int eo = EndOffset;
- int oso = other.StartOffset;
- int oeo = other.EndOffset;
- if (so <= oso && oso < eo) return true;
- if (so < oeo && oeo <= eo) return true;
- if (oso <= so && so < oeo) return true;
- if (oso < eo && eo <= oeo) return true;
- return false;
- }
-
- public override string ToString()
- {
- StringBuilder sb = new StringBuilder();
-
- sb.Append(text).Append('(').Append(boost.ToString(".0").Replace(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator,".")).Append(")(");
- foreach (Toffs to in termsOffsets)
- {
- sb.Append(to);
- }
- sb.Append(')');
- return sb.ToString();
- }
-
- public class Toffs
- {
- internal int startOffset;
- internal int endOffset;
- public Toffs(int startOffset, int endOffset)
- {
- this.startOffset = startOffset;
- this.endOffset = endOffset;
- }
- internal void SetEndOffset(int endOffset)
- {
- this.endOffset = endOffset;
- }
- public override string ToString()
- {
- StringBuilder sb = new StringBuilder();
- sb.Append('(').Append(startOffset).Append(',').Append(endOffset).Append(')');
- return sb.ToString();
- }
- }
- }
- }
-}