예제 #1
0
 private void OpenIndexClicked(object sender, EventArgs e)
 {
     if (folderBrowserDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         this.LuceneClient = new LuceneClient(folderBrowserDialog.SelectedPath, false);
     }
 }
예제 #2
0
 private void NewIndexClicked(object sender, EventArgs e)
 {
     if (saveFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         this.LuceneClient = new LuceneClient(saveFileDialog.FileName, true);
     }
 }
예제 #3
0
 public DocResult(LuceneClient client, Lucene.Net.Search.ScoreDoc scoreDoc)
 {
     this.LuceneClient = client;
     this.ScoreDoc = scoreDoc;
 }