This class allows you to browse a Lucene index in several ways - by document, by term, by query, and by most frequent terms.
Inheritance: System.Windows.Forms.Form
Example #1
0
        public EditDocument(Luke parent, int docNum, Document document, Hashtable doc)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.docNum = docNum;
            this.document = document;
            this.luke = parent;

            luke.PopulateAnalyzers(cmbAnalyzers);
            cmbAnalyzers.SelectedIndex = 0;

            groupDocNum.Text = groupDocNum.Text + docNum.ToString();

            ReconstructFields(doc);

            foreach (Field field in fields)
            {
                lstFields.Items.Add(field.Name());
            }

            if (lstFields.Items.Count > 0)
            {
                lstFields.SelectedIndex = 0;
                PopulateFieldContent(0);
            }
        }
Example #2
0
        public EditDocument(Luke parent, int docNum, Document document, Hashtable doc)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.docNum   = docNum;
            this.document = document;
            this.luke     = parent;

            luke.PopulateAnalyzers(cmbAnalyzers);
            cmbAnalyzers.SelectedIndex = 0;

            groupDocNum.Text = groupDocNum.Text + docNum.ToString();

            ReconstructFields(doc);

            foreach (Field field in fields)
            {
                lstFields.Items.Add(field.Name);
            }

            if (lstFields.Items.Count > 0)
            {
                lstFields.SelectedIndex = 0;
                PopulateFieldContent(0);
            }
        }
Example #3
0
        public OverviewTabPage(Luke luke)
        {
            _luke = luke;
            InitializeComponent();
            for (int i = 0; i <= 999999; i++)
                domainTerms.Items.Add(i);

            domainTerms.SelectedIndex = 50;
            SetOverviewContextMenuItems();
        }
Example #4
0
        public OverviewTabPage(Luke luke)
        {
            _luke = luke;
            InitializeComponent();
            for (int i = 0; i <= 999999; i++)
            {
                domainTerms.Items.Add(i);
            }

            domainTerms.SelectedIndex = 50;
            SetOverviewContextMenuItems();
        }
Example #5
0
 public DocumentsTabPage(Luke luke)
 {
     _luke = luke;
     InitializeComponent();
     SetDocumentsContextMenuItems();
 }
Example #6
0
 public SearchTabPage(Luke luke)
 {
     _luke = luke;
     InitializeComponent();
 }
Example #7
0
 public PluginsTabPage(Luke luke)
 {
     _luke = luke;
     InitializeComponent();
 }
Example #8
0
 public PluginsTabPage(Luke luke)
 {
     _luke = luke;
     InitializeComponent();
 }
Example #9
0
 public SearchTabPage(Luke luke)
 {
     _luke = luke;
     InitializeComponent();
 }
Example #10
0
 public DocumentsTabPage(Luke luke)
 {
     _luke = luke;
     InitializeComponent();
     SetDocumentsContextMenuItems();
 }