Ignore:
Timestamp:
Nov 22, 2009, 4:35:20 PM (12 years ago)
Author:
enkler
Message:

Improved Lucene-Net usage

Location:
trunk/CrypCoreSearchTest
Files:
17 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypCoreSearchTest

    • Property svn:ignore
      •  

        old new  
        11_ReSharper.CrypCoreSearchTest
         2obj
         3CrypCoreSearchTest.4.5.resharper.user
  • trunk/CrypCoreSearchTest/CrypCoreSearchTest.csproj

    r271 r876  
    44    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    55    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    6     <ProductVersion>9.0.30729</ProductVersion>
     6    <ProductVersion>9.0.21022</ProductVersion>
    77    <SchemaVersion>2.0</SchemaVersion>
    88    <ProjectGuid>{90C71656-814E-48BF-A625-7B7E2B8F126C}</ProjectGuid>
  • trunk/CrypCoreSearchTest/Program.cs

    r274 r876  
    33using System.Reflection;
    44using Cryptool.Core;
    5 
    65
    76namespace CrypCoreSearchTest
     
    1413                               {
    1514                                   HelpFilePath =
    16                                        (Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + "\\HelpFiles"),
     15                                       Path.GetFullPath(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + "\\..\\..\\HelpFiles"),
    1716                                   IndexPath =
    18                                        (Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + "\\HelpIndex")
     17                                       Path.GetFullPath(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + "\\..\\..\\HelpIndex")
    1918                               };
    2019            Provider.CreateIndexes();
     20            Console.WriteLine("Bitte Suchwort eingeben");
     21            int counter= 1;
    2122            foreach(var Result in Provider.Search(Console.ReadLine()))
    2223            {
    23                 Console.WriteLine(Result.Plugin);
    24                 Console.WriteLine(Result.Score);
    25                 Console.WriteLine(Result.Context);
     24                Console.WriteLine(string.Format("{0}. PlugIn: {1}",counter,Result.Plugin));
     25                foreach (var context in Result.Contexts)
     26                {
     27                    Console.WriteLine(string.Format("     Kontext: {0}", context));
     28                }
     29                counter++;
    2630            }
    2731            Console.ReadKey();
Note: See TracChangeset for help on using the changeset viewer.