QUERY


NameQUERY
Number6
Input
length Query-Length
weight Min-Weight
length Result-Count
row_count Signature-Length
dimension Dimension weight Weight
.
.
.
		
Output
row_count Result-Count	
ID Signature-ID weight Relevance-Score
.
.
.
		

Description

QUERY searches the index for relevant results for the input query, which should be a Semantic Signature®. For more information on how searching is performed see the searching page. The Query-Length sets the number of dimensions to be searched, the standard value is 10. The Min-Weight sets the minimum weight for a result before it can be returned. The Result-Count sets the number maximum number of results to be returned.

Return Value

The results of the query in relevance order. No more than Result-Count rows will be returned.

Example

< QUERY 10 0 25
< 4
< 1009 59000000
< 10012 30000000
< 547 5000000
< 13242 3000000
> 1
> 1 44150000