lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r421746 - in /incubator/lucene.net/trunk/C#/src/Demo: DeleteFiles/ DemoLib/ IndexFiles/ IndexHtml/ SearchFiles/
Date Thu, 13 Jul 2006 23:56:44 GMT
Author: aroush
Date: Thu Jul 13 16:56:42 2006
New Revision: 421746

URL: http://svn.apache.org/viewvc?rev=421746&view=rev
Log:
Lucene.Net 1.9.1 build 001

Modified:
    incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs
    incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs
    incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user
    incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs
    incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user
    incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/AssemblyInfo.cs
    incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.cs
    incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.csproj.user
    incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/AssemblyInfo.cs
    incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.cs
    incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.csproj.user
    incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/AssemblyInfo.cs
    incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.cs
    incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.csproj.user

Modified: incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DeleteFiles/AssemblyInfo.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs Thu Jul 13 16:56:42
2006
@@ -26,7 +26,7 @@
 // You can specify all the values or you can default the Revision and Build Numbers 
 // by using the '*' as shown below:
 
-[assembly: AssemblyVersion("1.9.0.005")]
+[assembly: AssemblyVersion("1.9.1.001")]
 
 //
 // In order to sign your assembly you must specify a key to use. Refer to the 

Modified: incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DeleteFiles/DeleteFiles.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs Thu Jul 13 16:56:42
2006
@@ -24,8 +24,13 @@
 {
 	//import Lucene.Net.index.Term;
 	
-	class DeleteFiles
+    /// <summary>Deletes documents from an index that do not contain a term. </summary>
+    class DeleteFiles
 	{
+
+        private DeleteFiles()
+        {
+        } // singleton
 		
 		[STAThread]
 		public static void  Main(System.String[] args)

Modified: incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DeleteFiles/DeleteFiles.csproj.user?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user Thu Jul 13
16:56:42 2006
@@ -1,7 +1,7 @@
 <VisualStudioProject>
     <CSHARP LastOpenVersion = "7.10.3077" >
         <Build>
-            <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Lucene.Net\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.9.rc1-003.src\Lucene.Net\bin\Debug\"
>
+            <Settings ReferencePath = "" >
                 <Config
                     Name = "Debug"
                     EnableASPDebugging = "false"

Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/AssemblyInfo.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs Thu Jul 13 16:56:42 2006
@@ -26,7 +26,7 @@
 // You can specify all the values or you can default the Revision and Build Numbers 
 // by using the '*' as shown below:
 
-[assembly: AssemblyVersion("1.9.0.005")]
+[assembly: AssemblyVersion("1.9.1.001")]
 
 //
 // In order to sign your assembly you must specify a key to use. Refer to the 

Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/DemoLib.csproj.user?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user Thu Jul 13 16:56:42
2006
@@ -1,7 +1,7 @@
 <VisualStudioProject>
     <CSHARP LastOpenVersion = "7.10.3077" >
         <Build>
-            <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Lucene.Net\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.9.rc1-003.src\Lucene.Net\bin\Debug\"
>
+            <Settings ReferencePath = "" >
                 <Config
                     Name = "Debug"
                     EnableASPDebugging = "false"
@@ -32,7 +32,7 @@
                     StartProgram = ""
                     StartURL = ""
                     StartWorkingDirectory = ""
-                    StartWithIE = "false"
+                    StartWithIE = "true"
                 />
             </Settings>
         </Build>

Modified: incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/IndexFiles/AssemblyInfo.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/AssemblyInfo.cs Thu Jul 13 16:56:42
2006
@@ -26,7 +26,7 @@
 // You can specify all the values or you can default the Revision and Build Numbers 
 // by using the '*' as shown below:
 
-[assembly: AssemblyVersion("1.9.0.005")]
+[assembly: AssemblyVersion("1.9.1.001")]
 
 //
 // In order to sign your assembly you must specify a key to use. Refer to the 

Modified: incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/IndexFiles/IndexFiles.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.cs Thu Jul 13 16:56:42 2006
@@ -21,12 +21,18 @@
 namespace Lucene.Net.Demo
 {
 	
-	class IndexFiles
+    /// <summary>Index all text files under a directory. </summary>
+    class IndexFiles
 	{
+
+        private IndexFiles()
+        {
+        }
 		
 		internal static readonly System.IO.FileInfo INDEX_DIR = new System.IO.FileInfo("index");
 		
-		[STAThread]
+        /// <summary>Index all text files under a directory. </summary>
+        [STAThread]
 		public static void  Main(System.String[] args)
 		{
 			System.String usage = typeof(IndexFiles) + " <root_directory>";
@@ -78,7 +84,7 @@
 			}
 		}
 		
-		public static void  IndexDocs(IndexWriter writer, System.IO.FileInfo file)
+		internal static void  IndexDocs(IndexWriter writer, System.IO.FileInfo file)
 		{
 			// do not try to index files that cannot be read
 			// if (file.canRead())  // {{Aroush}} what is canRead() in C#?

Modified: incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.csproj.user
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/IndexFiles/IndexFiles.csproj.user?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.csproj.user (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.csproj.user Thu Jul 13 16:56:42
2006
@@ -1,7 +1,7 @@
 <VisualStudioProject>
     <CSHARP LastOpenVersion = "7.10.3077" >
         <Build>
-            <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Lucene.Net\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.9.rc1-003.src\Lucene.Net\bin\Debug\"
>
+            <Settings ReferencePath = "" >
                 <Config
                     Name = "Debug"
                     EnableASPDebugging = "false"
@@ -11,7 +11,7 @@
                     RemoteDebugEnabled = "false"
                     RemoteDebugMachine = ""
                     StartAction = "Project"
-                    StartArguments = "e:\temp\"
+                    StartArguments = ""
                     StartPage = ""
                     StartProgram = ""
                     StartURL = ""

Modified: incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/IndexHtml/AssemblyInfo.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/AssemblyInfo.cs Thu Jul 13 16:56:42 2006
@@ -26,7 +26,7 @@
 // You can specify all the values or you can default the Revision and Build Numbers 
 // by using the '*' as shown below:
 
-[assembly: AssemblyVersion("1.9.0.005")]
+[assembly: AssemblyVersion("1.9.1.001")]
 
 //
 // In order to sign your assembly you must specify a key to use. Refer to the 

Modified: incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/IndexHtml/IndexHtml.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.cs Thu Jul 13 16:56:42 2006
@@ -25,15 +25,20 @@
 namespace Lucene.Net.Demo
 {
 	
-	class IndexHTML
+    /// <summary>Indexer for HTML files. </summary>
+    public class IndexHTML
 	{
+        private IndexHTML()
+        {
+        }
 		
-		private static bool deleting = false; // true during deletion pass
+        private static bool deleting = false; // true during deletion pass
 		private static IndexReader reader; // existing index
 		private static IndexWriter writer; // new index being built
 		private static TermEnum uidIter; // document id iterator
 		
-		[STAThread]
+        /// <summary>Indexer for HTML files.</summary>
+        [STAThread]
 		public static void  Main(System.String[] argv)
 		{
 			try

Modified: incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.csproj.user
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/IndexHtml/IndexHtml.csproj.user?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.csproj.user (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.csproj.user Thu Jul 13 16:56:42
2006
@@ -1,7 +1,7 @@
 <VisualStudioProject>
     <CSHARP LastOpenVersion = "7.10.3077" >
         <Build>
-            <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Lucene.Net\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.9.rc1-003.src\Lucene.Net\bin\Debug\"
>
+            <Settings ReferencePath = "" >
                 <Config
                     Name = "Debug"
                     EnableASPDebugging = "false"

Modified: incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/SearchFiles/AssemblyInfo.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/AssemblyInfo.cs Thu Jul 13 16:56:42
2006
@@ -26,7 +26,7 @@
 // You can specify all the values or you can default the Revision and Build Numbers 
 // by using the '*' as shown below:
 
-[assembly: AssemblyVersion("1.9.0.005")]
+[assembly: AssemblyVersion("1.9.1.001")]
 
 //
 // In order to sign your assembly you must specify a key to use. Refer to the 

Modified: incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/SearchFiles/SearchFiles.cs?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.cs Thu Jul 13 16:56:42
2006
@@ -18,18 +18,19 @@
 using Analyzer = Lucene.Net.Analysis.Analyzer;
 using StandardAnalyzer = Lucene.Net.Analysis.Standard.StandardAnalyzer;
 using Document = Lucene.Net.Documents.Document;
-using FilterIndexReader = Lucene.Net.Index.FilterIndexReader;
 using IndexReader = Lucene.Net.Index.IndexReader;
-using QueryParser = Lucene.Net.QueryParsers.QueryParser;
-using Hits = Lucene.Net.Search.Hits;
+using FilterIndexReader = Lucene.Net.Index.FilterIndexReader;
+using Searcher = Lucene.Net.Search.Searcher;
 using IndexSearcher = Lucene.Net.Search.IndexSearcher;
 using Query = Lucene.Net.Search.Query;
-using Searcher = Lucene.Net.Search.Searcher;
+using Hits = Lucene.Net.Search.Hits;
+using QueryParser = Lucene.Net.QueryParsers.QueryParser;
 
 namespace Lucene.Net.Demo
 {
 	
-	class SearchFiles
+    /// <summary>Simple command-line based search demo. </summary>
+    public class SearchFiles
 	{
 		
 		/// <summary>Use the norms from one field for all fields.  Norms are read into memory,
@@ -53,7 +54,12 @@
 			}
 		}
 		
-		[STAThread]
+        private SearchFiles()
+        {
+        }
+		
+        /// <summary>Simple command-line based search demo. </summary>
+        [STAThread]
 		public static void  Main(System.String[] args)
 		{
 			System.String usage = "Usage: " + typeof(SearchFiles) + " [-index dir] [-field f] [-repeat
n] [-queries file] [-raw] [-norms field]";

Modified: incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.csproj.user
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/SearchFiles/SearchFiles.csproj.user?rev=421746&r1=421745&r2=421746&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.csproj.user (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.csproj.user Thu Jul 13
16:56:42 2006
@@ -1,7 +1,7 @@
 <VisualStudioProject>
     <CSHARP LastOpenVersion = "7.10.3077" >
         <Build>
-            <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Lucene.Net\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.9.rc1-003.src\Lucene.Net\bin\Debug\"
>
+            <Settings ReferencePath = "" >
                 <Config
                     Name = "Debug"
                     EnableASPDebugging = "false"
@@ -11,7 +11,7 @@
                     RemoteDebugEnabled = "false"
                     RemoteDebugMachine = ""
                     StartAction = "Project"
-                    StartArguments = "-index E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Demo\IndexFiles\bin\Debug\index"
+                    StartArguments = ""
                     StartPage = ""
                     StartProgram = ""
                     StartURL = ""



Mime
View raw message