Method Search
Search(Query)
Convenience method that efficiently returns the relevance score by matching this index against the given Lucene query expression.
Declaration
public virtual float Search(Query query)
Parameters
Type | Name | Description |
---|---|---|
Query | query | an arbitrary Lucene query to run against this index |
Returns
Type | Description |
---|---|
System.Single | the relevance score of the matchmaking; A number in the range [0.0 .. 1.0], with 0.0 indicating no match. The higher the number the better the match. |