Should be called when the scorer at top changes doc() value.
Still log(n) worst case, but it's at least twice as fast to
Namespace: Lucene.Net.Util
{ pq.top().change(); pq.adjustTop(); }
instead of
{ o = pq.pop(); o.change(); pq.push(o); }
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public void AdjustTop() |
| Visual Basic |
|---|
Public Sub AdjustTop |
| Visual C++ |
|---|
public: void AdjustTop() |