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
Esempio n. 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);
            }
        }
Esempio n. 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);
            }
        }
Esempio n. 3
0
        public OverviewTabPage(Luke luke)
        {
            _luke = luke;
            InitializeComponent();
            for (int i = 0; i <= 999999; i++)
                domainTerms.Items.Add(i);

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

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