I published my PHP client for elasticsearch named Elastica to github.
The client is still in development but it I'm already using it in two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
I published my PHP client for elasticsearch named Elastica to github.
The client is still in development but it I'm already using it in two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
I published my PHP client for elasticsearch named Elastica to github.
The client is still in development but it I'm already using it in two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
I published my PHP client for elasticsearch named Elastica to github.
The client is still in development but it I'm already using it in two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
Bulk deleting can be done with the following code (based on the ids)
/**
* Deletes documents with the given ids, index, type from the index
*
* @link http://www.elasticsearch.com/docs/elasticsearch/rest_api/bulk/
* @param array $ids Document ids
* @param string $index Index name
* @param string $type Type of documents
* @return Elastica_Response Response object
* @throws Elastica_Exception If ids is empty
*/
public function deleteIds(array $ids, $index, $type) {
An example would be:
$client->deleteIds(array(1, 7, 9), 'xodoa', 'user');
I will add that to the example with the next commit.
Looks great!. One question based on the example, I don't see how bulk
operation supports also deletes?
-shay.banon
On Thu, Nov 25, 2010 at 11:40 PM, ruflin ruf...@gmail.com wrote:
I just created tag v0.1https://github.com/ruflin/Elastica/tree/v0.1
So now everyone is able to download a specific version and I can start
to break things again
I published my PHP client for elasticsearch named Elastica to github.
The client is still in development but it I'm already using it in two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
Nice. But, its still missing the capability in the bulk API to have both
index and delete operations, on different indices and types. Maybe add it as
an API on the Client?
Looks great!. One question based on the example, I don't see how bulk
operation supports also deletes?
-shay.banon
On Thu, Nov 25, 2010 at 11:40 PM, ruflin ruf...@gmail.com wrote:
I just created tag v0.1https://github.com/ruflin/Elastica/tree/v0.1
So now everyone is able to download a specific version and I can start
to break things again
I published my PHP client for elasticsearch named Elastica to
github.
The client is still in development but it I'm already using it in
two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
Nice. But, its still missing the capability in the bulk API to have both
index and delete operations, on different indices and types. Maybe add it as
an API on the Client?
Looks great!. One question based on the example, I don't see how bulk
operation supports also deletes?
-shay.banon
On Thu, Nov 25, 2010 at 11:40 PM, ruflin ruf...@gmail.com wrote:
I just created tag v0.1https://github.com/ruflin/Elastica/tree/v0.1
So now everyone is able to download a specific version and I can start
to break things again
I published my PHP client for elasticsearch named Elastica to
github.
The client is still in development but it I'm already using it in
two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
Nice. But, its still missing the capability in the bulk API to have both
index and delete operations, on different indices and types. Maybe add it as
an API on the Client?
Looks great!. One question based on the example, I don't see how bulk
operation supports also deletes?
-shay.banon
On Thu, Nov 25, 2010 at 11:40 PM, ruflin ruf...@gmail.com wrote:
I just created tag v0.1https://github.com/ruflin/Elastica/tree/v0.1
So now everyone is able to download a specific version and I can start
to break things again
I published my PHP client for elasticsearch named Elastica to
github.
The client is still in development but it I'm already using it in
two
installations. The difference to the PHP client from nervetattoo is
that it integrates easily with Zend Framework. Some examples how to
use the client can be found in the tests (more are coming).
Great!, the ability to have index and delete mixed (and ordered) in the same
bulk request is important, great that you enabled it. Note that the type in
the index payload is optional (you don't have to provide the type as the top
level json object), maybe it make sense to doc it.
On Mon, Nov 29, 2010 at 12:04 AM, ruflin ruflin@gmail.com wrote:
Nice. But, its still missing the capability in the bulk API to have
both
index and delete operations, on different indices and types. Maybe add
it as
an API on the Client?
I published my PHP client for elasticsearch named Elastica to
github.
The client is still in development but it I'm already using
it in
two
installations. The difference to the PHP client from
nervetattoo is
that it integrates easily with Zend Framework. Some examples
how to
use the client can be found in the tests (more are coming).
Great!, the ability to have index and delete mixed (and ordered) in the same
bulk request is important, great that you enabled it. Note that the type in
the index payload is optional (you don't have to provide the type as the top
level json object), maybe it make sense to doc it.
On Mon, Nov 29, 2010 at 12:04 AM, ruflin ruf...@gmail.com wrote:
Nice. But, its still missing the capability in the bulk API to have
both
index and delete operations, on different indices and types. Maybe add
it as
an API on the Client?
I published my PHP client for elasticsearch named Elastica to
github.
The client is still in development but it I'm already using
it in
two
installations. The difference to the PHP client from
nervetattoo is
that it integrates easily with Zend Framework. Some examples
how to
use the client can be found in the tests (more are coming).
Great!, the ability to have index and delete mixed (and ordered) in the
same
bulk request is important, great that you enabled it. Note that the type
in
the index payload is optional (you don't have to provide the type as the
top
level json object), maybe it make sense to doc it.
On Mon, Nov 29, 2010 at 12:04 AM, ruflin ruf...@gmail.com wrote:
Nice. But, its still missing the capability in the bulk API to have
both
index and delete operations, on different indices and types. Maybe
add
it as
an API on the Client?
I published my PHP client for elasticsearch named
Elastica to
github.
The client is still in development but it I'm already
using
it in
two
installations. The difference to the PHP client from
nervetattoo is
that it integrates easily with Zend Framework. Some
examples
how to
use the client can be found in the tests (more are
coming).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.