19 using System.Collections.Generic;
23 using Lucene.Net.Analysis;
24 using Lucene.Net.Documents;
25 using Lucene.Net.Analysis.Standard;
26 using Lucene.Net.Index;
27 using Lucene.Net.Search;
28 using Lucene.Net.QueryParsers;
29 using Lucene.Net.Store;
30 using Lucene.Net.Util;
32 namespace Lucene.Net.Search
38 public Dictionary<string, OpenBitSetDISI> FieldValueBitSetPair =
new Dictionary<string, OpenBitSetDISI>();
45 this._Reader = reader;
47 foreach (
string val
in GetFieldValues(field))
49 FieldValueBitSetPair.Add(val, GetBitSet(field, val));
53 List<string> GetFieldValues(
string groupByField)
55 List<string> list =
new List<string>();
57 if (te.Term.Field != groupByField)
return list;
58 list.Add(te.Term.Text);
62 if (te.Term.Field != groupByField)
break;
63 list.Add(te.Term.Text);