File: |
test/elasticTest.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
PHP Torm ORM for ElasticSearch
Adapter for Torm ORM to access Elastic |
Author: |
By Eustaquio Rangel de Oliveira Jr. |
Last change: |
If not updating, avoid delete also. Method to disable global indexing.
If any update is avoided on test environment, delete is also avoided.
Removed all the sleeps from the tests, very much faster and efficient.
Remember, call `refreshElastic` when you need some immediate data
consistency.
Removing a document when the object (and the record) is destroyed.
And we just won a `refreshElastic` method to remove all those sleeps
from the tests!
Now we can avoid updating documents on test environment.
Change the index name when running tests. We don't want document pollution.
Specifying the search result size.
|
Date: |
9 years ago |
Size: |
8,305 bytes |
|
|
|