1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Search\Request;
- /**
- * Query Interface
- *
- * @api
- * @since 100.0.2
- */
- interface QueryInterface
- {
- /**
- * #@+ Query Types
- */
- const TYPE_MATCH = 'matchQuery';
- const TYPE_BOOL = 'boolQuery';
- const TYPE_FILTER = 'filteredQuery';
- /**#@-*/
- /**
- * Get Type
- *
- * @return string
- */
- public function getType();
- /**
- * Get Name
- *
- * @return string
- */
- public function getName();
- /**
- * Get Boost
- *
- * @return int|null
- */
- public function getBoost();
- }
|