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

Namespace: Similarity.Net
Assembly: Lucene.Net.Contrib.Similarity (in Lucene.Net.Contrib.Similarity.dll) Version: 2.0.0.1

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