22 namespace Lucene.Net.Search
40 private class AnonymousClassDocIdSet:
DocIdSet
42 public AnonymousClassDocIdSet(Lucene.Net.Search.Weight weight, Lucene.Net.Index.IndexReader reader,
QueryWrapperFilter enclosingInstance)
44 InitBlock(weight, reader, enclosingInstance);
46 private void InitBlock(Lucene.Net.Search.Weight weight, Lucene.Net.Index.IndexReader reader,
QueryWrapperFilter enclosingInstance)
50 this.enclosingInstance = enclosingInstance;
52 private Lucene.Net.Search.Weight weight;
53 private Lucene.Net.Index.IndexReader reader;
59 return enclosingInstance;
65 return weight.Scorer(reader,
true,
false);
68 public override bool IsCacheable
86 return new AnonymousClassDocIdSet(weight, reader,
this);
89 public override System.String ToString()
91 return "QueryWrapperFilter(" + query +
")";
94 public override bool Equals(System.Object o)
98 return this.query.Equals(((QueryWrapperFilter) o).query);
101 public override int GetHashCode()
103 return query.GetHashCode() ^ unchecked((
int) 0x923F64B9);