Method Like
Like(Int32)
Return a query that will return docs like the passed lucene document ID.
Declaration
public Query Like(int docNum)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docNum | the documentID of the lucene doc to generate the 'More Like This" query for. |
Returns
Type | Description |
---|---|
Query | a query that will return docs like the passed lucene document ID. |
Like(TextReader, String)
Return a query that will return docs like the passed
Declaration
public Query Like(TextReader r, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
TextReader | r | |
System.String | fieldName |
Returns
Type | Description |
---|---|
Query | a query that will return docs like the passed |