Commands: Indexes: How to get index terms?

GetTerms will retrieve all stored terms for a field of an index.


IEnumerable<string> GetTerms(
	string index,
	string field,
	string fromValue,
	int pageSize);
index string Name of an index
field string Index field
fromValue string Starting point for a query, used for paging
pageSize int Maximum number of terms that will be returned
Return Value
string[] Array of index terms.


IEnumerable<string> terms = store
	.GetTerms("Orders/Totals", "Company", null, 128);