Return a query that will return docs like the passed lucene document ID.

Namespace: Lucene.Net.Search.Similar
Assembly: Lucene.Net.Contrib.Queries (in Lucene.Net.Contrib.Queries.dll) Version: 2.9.2.0 (2.9.2)

Syntax

C#
public Query Like(
	int docNum
)
Visual Basic
Public Function Like ( _
	docNum As Integer _
) As Query
Visual C++
public:
Query^ Like(
	int docNum
)

Parameters

docNum
Type: System..::..Int32
the documentID of the lucene doc to generate the 'More Like This" query for.

Return Value

a query that will return docs like the passed lucene document ID.

See Also