Releases: spira/api-core
5.1.2: Merge pull request #73 from spira/hotfix/range-header-backup
Adding a custom header which can be used as a backup for Range.
5.1.1: changes for elastic search to be able to have paginated results (#71)
* changes for elastic search to be able to have paginated results * bump * fix test
Replacing updateIndex with addToIndex
This is a patch for issue where occasionally on model create the model's document isn't created in Elasticsearch.
Adding param which allows replace headers to be disabled when creating an item response.
Merge pull request #63 from spira/hotfix/switchable-replace-headers Adding param which allows replace headers to be disabled when creatin…
Remove Child Indexing Feature
This was never needed. Which child models require indexing is defined in elasticsearchindexer.php (in conf).
Nested Entity Search Indexing Fix
Fixing issue where nested entity would not be loaded if previous nested entity did not have results.
Search Fix
The application was crashing when attempting to load nested relation for an entity which was retrieved through search. All nested relations are entered into the search index so we don't need to load relations after a search.
Translate Query Fix
Fixing issue with translateQuery. (#59) * Fixing issue with translateQuery. * Applying style patch. * Updating tests.
Update Types
Merge pull request #58 from spira/hotfix/index-model-update Updating model types.
Search Index: Nested Entity Update
There has been an update to IndexModel's getIndexDocumentData() function which now allows nested entities to be an instance of BaseModel rather than IndexedModel. This allows an IndexedModel to index a nested entity which isn't in the search index itself.
Format of nested data in search index has also changed.