A query that wraps a filter and simply returns a constant score equal to the query boost for every document in the filter.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public class ConstantScoreQuery : Query
Visual Basic
<SerializableAttribute> _
Public Class ConstantScoreQuery _
	Inherits Query
Visual C++
[SerializableAttribute]
public ref class ConstantScoreQuery : public Query

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search..::..Query
    Lucene.Net.Search..::..ConstantScoreQuery

See Also