Twiggle’s Semantic API is integrated in two search-related processes: product listing indexing and search result retrieval. Both product features and query interpretations (as explained below) are returned in real time.
Product listing indexing
The /listings endpoint extracts a structured set of features from your product data and returns a features object that can be added to your search index. The features are expressed using Twiggle’s Universal Product Ontology. Calling the /listings endpoint with new or updated product listings will ensure that your indexed features are always up to date.
Search results retrieval
The /queries endpoint takes shoppers’ search queries and returns query interpretations, which are also expressed using Twiggle’s Universal Product Ontology and query language. Now both your product data and your search queries are expressed in the same “language”. You can now use Twiggle’s query interpretation to query the indexed product data and show your customers the products they are actually looking to buy.
What about interactions?
Twiggle’s systems are constantly learning what people are searching for and what products are available. By sending us your /interactions, we continuously improve our feature extractions and query interpretations based on how your customers actually responded to the search results they are shown.