PHP Classes
elePHPant
Icontem

File: src/ElasticSearch.php

Recommend this page to a friend!
  Classes of Eustaquio Rangel de Oliveira Jr.  >  PHP Torm ORM for ElasticSearch  >  src/ElasticSearch.php  
File: src/ElasticSearch.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
Last change: Changed the parameter value of 'type', of 'query type'.
If not updating, avoid delete also. Method to disable global indexing.
If any update is avoided on test environment, delete is also avoided.
Deleting an index.
Catching exceptions when there aren't rows on count and no results on search.
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.
Fixed another bug for sending search size!
Fixed bug when sending size on search options.
Setting the search size.
Specifying the search result size.
Date: 4 years ago
Size: 10,776 bytes

 

You need to be a registered user and login to get this file.

1,537,029 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmailHotmailStackOverflowGitHubYahoo