Searching
Get data from the index
Indexes
public class ProductController : Controller
{
private readonly IIndex<ProductSearchModel> _productIndex;
public ProductController(IIndex<ProductSearchModel> productIndex)
{
_productIndex = productIndex;
}
}ISearch<ProductSearchModel> query = _productIndex.AsSearchable(new CultureInfo("da-DK"));Filtering
Match
Range
Sorting
Paging
Results
Total Count
Suggestions
Facets
Search Models
Entity
Search Model
Query Caveats
Known Limitations
Contains
Last updated