Indexing & Querying data
Since ExamineX is an implementation of Examine’s abstractions so all of the same APIs that you are currently using with Examine and Umbraco will work just the same.
You can find the documenation for Examine here which describes the Examine APIs for indexing and querying data.
Native Queries
“Native” queries in Examine refer to being able to pass in a string
to Examine’s NativeQuery
method which will be parsed by the implemented provider. For example, the default Lucene Examine provider allows you to pass in lucene query syntax.
Similarly, this is also the Native Query structure used with ExamineX and Elastic Search.
Example:
var criteria = searcher.CreateQuery("content");
var filter = criteria.NativeQuery("parentID:[2139 TO 2139]");