├── .editorconfig ├── .github └── dependabot.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── config ├── elasticsearch.php ├── logging.php └── scout.php ├── phpstan.neon ├── phpunit.xml ├── pint.json ├── psalm.xml ├── src ├── Classes │ ├── Bulk.php │ └── Search.php ├── Collection.php ├── Commands │ ├── CreateIndexCommand.php │ ├── DropIndexCommand.php │ ├── ListIndicesCommand.php │ ├── ReindexCommand.php │ └── UpdateIndexCommand.php ├── Concerns │ ├── AppliesScopes.php │ ├── BuildsFluentQueries.php │ ├── ExecutesQueries.php │ ├── ExplainsQueries.php │ ├── HasGlobalScopes.php │ └── ManagesIndices.php ├── Connection.php ├── ConnectionManager.php ├── ConnectionResolver.php ├── ElasticsearchServiceProvider.php ├── Exceptions │ └── DocumentNotFoundException.php ├── Facades │ └── Elasticsearch.php ├── Factories │ └── ClientFactory.php ├── Index.php ├── Interfaces │ ├── ClientFactoryInterface.php │ ├── ConnectionInterface.php │ ├── ConnectionResolverInterface.php │ └── ScopeInterface.php ├── Model.php ├── Pagination.php ├── Query.php ├── Request.php ├── ScoutEngine.php ├── helpers.php └── pagination │ ├── bootstrap-4.php │ ├── default.php │ ├── simple-bootstrap-4.php │ └── simple-default.php └── tests ├── BodyTest.php ├── ConnectionManagerTest.php ├── ConnectionResolverTest.php ├── ConnectionTest.php ├── DistanceTest.php ├── Factories └── ClientFactoryTest.php ├── GlobalScopeTest.php ├── IgnoreTest.php ├── IndexTest.php ├── ModelTest.php ├── OrderTest.php ├── SearchTest.php ├── SelectTest.php ├── SizeTest.php ├── SkipTest.php ├── Traits ├── ESQueryTrait.php └── ResolvesConnections.php ├── WhereBetweenTest.php ├── WhereInTest.php ├── WhereNotBetweenTest.php ├── WhereNotInTest.php ├── WhereNotTest.php └── WhereTest.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/composer.lock -------------------------------------------------------------------------------- /config/elasticsearch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/config/elasticsearch.php -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/config/logging.php -------------------------------------------------------------------------------- /config/scout.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/config/scout.php -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/phpunit.xml -------------------------------------------------------------------------------- /pint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/pint.json -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/psalm.xml -------------------------------------------------------------------------------- /src/Classes/Bulk.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Classes/Bulk.php -------------------------------------------------------------------------------- /src/Classes/Search.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Classes/Search.php -------------------------------------------------------------------------------- /src/Collection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Collection.php -------------------------------------------------------------------------------- /src/Commands/CreateIndexCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Commands/CreateIndexCommand.php -------------------------------------------------------------------------------- /src/Commands/DropIndexCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Commands/DropIndexCommand.php -------------------------------------------------------------------------------- /src/Commands/ListIndicesCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Commands/ListIndicesCommand.php -------------------------------------------------------------------------------- /src/Commands/ReindexCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Commands/ReindexCommand.php -------------------------------------------------------------------------------- /src/Commands/UpdateIndexCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Commands/UpdateIndexCommand.php -------------------------------------------------------------------------------- /src/Concerns/AppliesScopes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Concerns/AppliesScopes.php -------------------------------------------------------------------------------- /src/Concerns/BuildsFluentQueries.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Concerns/BuildsFluentQueries.php -------------------------------------------------------------------------------- /src/Concerns/ExecutesQueries.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Concerns/ExecutesQueries.php -------------------------------------------------------------------------------- /src/Concerns/ExplainsQueries.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Concerns/ExplainsQueries.php -------------------------------------------------------------------------------- /src/Concerns/HasGlobalScopes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Concerns/HasGlobalScopes.php -------------------------------------------------------------------------------- /src/Concerns/ManagesIndices.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Concerns/ManagesIndices.php -------------------------------------------------------------------------------- /src/Connection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Connection.php -------------------------------------------------------------------------------- /src/ConnectionManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/ConnectionManager.php -------------------------------------------------------------------------------- /src/ConnectionResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/ConnectionResolver.php -------------------------------------------------------------------------------- /src/ElasticsearchServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/ElasticsearchServiceProvider.php -------------------------------------------------------------------------------- /src/Exceptions/DocumentNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Exceptions/DocumentNotFoundException.php -------------------------------------------------------------------------------- /src/Facades/Elasticsearch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Facades/Elasticsearch.php -------------------------------------------------------------------------------- /src/Factories/ClientFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Factories/ClientFactory.php -------------------------------------------------------------------------------- /src/Index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Index.php -------------------------------------------------------------------------------- /src/Interfaces/ClientFactoryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Interfaces/ClientFactoryInterface.php -------------------------------------------------------------------------------- /src/Interfaces/ConnectionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Interfaces/ConnectionInterface.php -------------------------------------------------------------------------------- /src/Interfaces/ConnectionResolverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Interfaces/ConnectionResolverInterface.php -------------------------------------------------------------------------------- /src/Interfaces/ScopeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Interfaces/ScopeInterface.php -------------------------------------------------------------------------------- /src/Model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Model.php -------------------------------------------------------------------------------- /src/Pagination.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Pagination.php -------------------------------------------------------------------------------- /src/Query.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Query.php -------------------------------------------------------------------------------- /src/Request.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/Request.php -------------------------------------------------------------------------------- /src/ScoutEngine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/ScoutEngine.php -------------------------------------------------------------------------------- /src/helpers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/helpers.php -------------------------------------------------------------------------------- /src/pagination/bootstrap-4.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/pagination/bootstrap-4.php -------------------------------------------------------------------------------- /src/pagination/default.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/pagination/default.php -------------------------------------------------------------------------------- /src/pagination/simple-bootstrap-4.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/pagination/simple-bootstrap-4.php -------------------------------------------------------------------------------- /src/pagination/simple-default.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/src/pagination/simple-default.php -------------------------------------------------------------------------------- /tests/BodyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/BodyTest.php -------------------------------------------------------------------------------- /tests/ConnectionManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/ConnectionManagerTest.php -------------------------------------------------------------------------------- /tests/ConnectionResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/ConnectionResolverTest.php -------------------------------------------------------------------------------- /tests/ConnectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/ConnectionTest.php -------------------------------------------------------------------------------- /tests/DistanceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/DistanceTest.php -------------------------------------------------------------------------------- /tests/Factories/ClientFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/Factories/ClientFactoryTest.php -------------------------------------------------------------------------------- /tests/GlobalScopeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/GlobalScopeTest.php -------------------------------------------------------------------------------- /tests/IgnoreTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/IgnoreTest.php -------------------------------------------------------------------------------- /tests/IndexTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/IndexTest.php -------------------------------------------------------------------------------- /tests/ModelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/ModelTest.php -------------------------------------------------------------------------------- /tests/OrderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/OrderTest.php -------------------------------------------------------------------------------- /tests/SearchTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/SearchTest.php -------------------------------------------------------------------------------- /tests/SelectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/SelectTest.php -------------------------------------------------------------------------------- /tests/SizeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/SizeTest.php -------------------------------------------------------------------------------- /tests/SkipTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/SkipTest.php -------------------------------------------------------------------------------- /tests/Traits/ESQueryTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/Traits/ESQueryTrait.php -------------------------------------------------------------------------------- /tests/Traits/ResolvesConnections.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/Traits/ResolvesConnections.php -------------------------------------------------------------------------------- /tests/WhereBetweenTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/WhereBetweenTest.php -------------------------------------------------------------------------------- /tests/WhereInTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/WhereInTest.php -------------------------------------------------------------------------------- /tests/WhereNotBetweenTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/WhereNotBetweenTest.php -------------------------------------------------------------------------------- /tests/WhereNotInTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/WhereNotInTest.php -------------------------------------------------------------------------------- /tests/WhereNotTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/WhereNotTest.php -------------------------------------------------------------------------------- /tests/WhereTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matchory/elasticsearch/HEAD/tests/WhereTest.php --------------------------------------------------------------------------------