File tree Expand file tree Collapse file tree 6 files changed +6
-12
lines changed
src/Service/Search/SearchService Expand file tree Collapse file tree 6 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,6 @@ public function __construct(
4242 ) {
4343 }
4444
45- /**
46- * @throws AssetSearchException
47- */
4845 public function search (
4946 AssetSearchInterface $ assetSearch ,
5047 PermissionTypes $ permissionType = PermissionTypes::LIST
Original file line number Diff line number Diff line change 1515
1616use Pimcore \Bundle \GenericDataIndexBundle \Enum \Permission \PermissionTypes ;
1717use Pimcore \Bundle \GenericDataIndexBundle \Exception \AssetSearchException ;
18+ use Pimcore \Bundle \GenericDataIndexBundle \Exception \QueryLanguage \ParsingException ;
1819use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \Asset \AssetSearchInterface ;
1920use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \Asset \SearchResult \AssetSearchResult ;
2021use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \Asset \SearchResult \AssetSearchResultItem ;
2425interface AssetSearchServiceInterface
2526{
2627 /**
27- * @throws AssetSearchException
28+ * @throws AssetSearchException|ParsingException
2829 */
2930 public function search (
3031 AssetSearchInterface $ assetSearch ,
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ public function __construct(
4343 ) {
4444 }
4545
46- /**
47- * @throws DataObjectSearchException
48- */
4946 public function search (
5047 DataObjectSearchInterface $ dataObjectSearch ,
5148 PermissionTypes $ permissionType = PermissionTypes::LIST
Original file line number Diff line number Diff line change 1515
1616use Pimcore \Bundle \GenericDataIndexBundle \Enum \Permission \PermissionTypes ;
1717use Pimcore \Bundle \GenericDataIndexBundle \Exception \DataObjectSearchException ;
18+ use Pimcore \Bundle \GenericDataIndexBundle \Exception \QueryLanguage \ParsingException ;
1819use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \DataObject \DataObjectSearchInterface ;
1920use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \DataObject \SearchResult \DataObjectSearchResult ;
2021use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \DataObject \SearchResult \DataObjectSearchResultItem ;
2324interface DataObjectSearchServiceInterface
2425{
2526 /**
26- * @throws DataObjectSearchException
27+ * @throws DataObjectSearchException|ParsingException
2728 */
2829 public function search (
2930 DataObjectSearchInterface $ dataObjectSearch ,
Original file line number Diff line number Diff line change @@ -42,9 +42,6 @@ public function __construct(
4242 ) {
4343 }
4444
45- /**
46- * @throws DocumentSearchException
47- */
4845 public function search (
4946 DocumentSearchInterface $ documentSearch ,
5047 PermissionTypes $ permissionType = PermissionTypes::LIST
Original file line number Diff line number Diff line change 1515
1616use Pimcore \Bundle \GenericDataIndexBundle \Enum \Permission \PermissionTypes ;
1717use Pimcore \Bundle \GenericDataIndexBundle \Exception \DocumentSearchException ;
18+ use Pimcore \Bundle \GenericDataIndexBundle \Exception \QueryLanguage \ParsingException ;
1819use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \Document \DocumentSearchInterface ;
1920use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \Document \SearchResult \DocumentSearchResult ;
2021use Pimcore \Bundle \GenericDataIndexBundle \Model \Search \Document \SearchResult \DocumentSearchResultItem ;
2324interface DocumentSearchServiceInterface
2425{
2526 /**
26- * @throws DocumentSearchException
27+ * @throws DocumentSearchException|ParsingException
2728 */
2829 public function search (
2930 DocumentSearchInterface $ documentSearch ,
You can’t perform that action at this time.
0 commit comments