Commit graph

816 commits

Author SHA1 Message Date
Piotr Antosik 1bc148569b Added knp paginator sort functionality to PaginateElasticaQuerySubscriber 2014-04-03 10:44:18 +02:00
Patrick Zahnd 13c2d10e39 Added knp paginator sort functionality to PaginateElasticaQuerySubscriber 2014-04-03 00:02:43 +02:00
Tim Nagel e74acb1e4f Revert "Avoid index reset error in case of unexistant index"
This reverts commit a121a77774.
2014-04-03 08:00:52 +11:00
Tim Nagel ff95945819 Merge pull request #527 from baggachipz/master
Upsert-type functionality for existing ORM Entities
2014-04-02 08:47:47 +11:00
Tim Nagel ec7f04a261 Merge pull request #515 from nurikabe/master
Clone entities on delete to preserve ids
2014-04-01 20:22:22 +11:00
Tim Nagel 5855ac6fbd Merge pull request #525 from jvandesande/MultiField
Unset nested "fields" for deeper nested configs too
2014-04-01 09:11:31 +11:00
baggachipz 20810fa415 Upsert-type functionality for existing ORM Entities
This is an attempt to fix the issue: https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/526

It will cause a significant slowdown in a large batch, but it appears to be the only way to prevent an exception from bubbling up during a normal use case.
2014-03-31 15:16:32 -04:00
Joris van de Sande 588c4e2d02 Unset nested "fields" for deeper nested configs too 2014-03-31 12:52:29 +02:00
nurikabe 0de48d2190 Use identifiers for bulk delete rather than cloning objects 2014-03-29 18:36:06 -04:00
Tim Nagel 40e79b2abe Merge pull request #521 from morticue/master
Corrected bundle class name in install instructions
2014-03-28 08:52:27 +11:00
Joakim Friberg a81a630520 Corrected bundle class name in install instructions 2014-03-27 16:33:20 +01:00
Tim Nagel 8c146134da Merge pull request #519 from merk/logger-debug
Change logging to only be enabled in debug mode
2014-03-26 12:42:34 +11:00
Tim Nagel 38b4074745 Update logger documentation based on configuration change 2014-03-26 12:40:27 +11:00
Tim Nagel 9f27c1dade Update changelog 2014-03-26 12:38:20 +11:00
Tim Nagel e25a5420a5 Logger enabled with debugging 2014-03-26 12:38:20 +11:00
Tim Nagel 37db040096 Merge pull request #435 from merk/documentation
Refactored documentation
2014-03-26 10:09:17 +11:00
Tim Nagel eb7758605e Documentation updates 2014-03-26 10:07:50 +11:00
Tim Nagel 49f077cc30 Merge pull request #510 from peterjmit/master
Make fetchSlice compatible with custom repo method
2014-03-26 10:01:18 +11:00
Tim Nagel befb0907cc Merge branch 'master' into documentation
Conflicts:
	DependencyInjection/Configuration.php
	README.md
2014-03-25 16:04:32 +11:00
Tim Nagel e83ea0b6c8 Merge pull request #505 from piotrantosik/fix_docblocks
Fix some block comment
2014-03-25 15:48:18 +11:00
Tim Nagel 1e44051442 Merge pull request #514 from jvandesande/MultiField
Unset fields if no nested fields are defined
2014-03-25 15:47:06 +11:00
nurikabe 361d80a720 Prevent division by zero error 2014-03-24 11:18:55 -04:00
nurikabe 720917f609 Clone entities on delete to preserve ids 2014-03-24 11:16:31 -04:00
Joris van de Sande 455ff9e0f7 Unset fields if no nested fields are defined 2014-03-24 15:06:24 +01:00
Peter Mitchell 2009f88109 Make fetchSlice compatible with custom repo method
If a user configures query_builder_method for the doctrine provider, and
does not alias the root entity to equal Provider::ENTITY_ALIAS then a
DQL error will occur during index population.

> [Semantical Error] [...] near 'a.id ASC': Error: 'a' is not defined.

Provider::countObjects already handles this by dynamically fetching the
alias with QueryBuilder::getRootAliases, and Provider::fetchSlice should
be doing the same.

nb. "Provider" refers to FOS\ElasticaBundle\Doctrine\ORM\Provider
2014-03-19 08:40:58 -04:00
Tim Nagel 514e63f26f Merge pull request #496 from rayrigam/master
Add support for clients requiring basic HTTP authentication
2014-03-19 12:32:48 +11:00
Ray 4dc08cd006 Added notice about added support for HTTP headers. 2014-03-18 20:07:30 -04:30
Ray 41b347dfe4 Merge remote-tracking branch 'upstream/master'
Conflicts:
	Logger/ElasticaLogger.php
	README.md
2014-03-18 19:59:27 -04:30
rayrigam de70e78b53 Update Configuration.php
Updated to support any HTTP request header type in the "headers" section.
2014-03-18 18:14:03 -04:30
Tim Nagel babe20800e Updated changelog 2014-03-18 09:12:11 +11:00
Tim Nagel 7d13823488 Bump symfony requirement 2014-03-18 09:10:44 +11:00
Tim Nagel dc01b189ed Update CHANGELOG-3.0.md 2014-03-17 09:26:16 +11:00
Tim Nagel 5292a2adad Merge pull request #463 from FriendsOfSymfony/add-hotswapping-aliased-indexes-on-populate
Add support for using aliases to allow hot swapping of indexes.
2014-03-17 09:20:12 +11:00
Tim Nagel 49521e9fc4 Merge branch 'master' into add-hotswapping-aliased-indexes-on-populate
Conflicts:
	Resetter.php
2014-03-17 09:18:57 +11:00
Tim Nagel 857c1c8e48 Merge pull request #415 from nurikabe/master
Refactoring to update ElasticSearch index in postFush
2014-03-17 09:11:43 +11:00
Piotr Antosik 6a26c63b2c fix some block comment 2014-03-14 18:41:49 +01:00
Tim Nagel cdd6e3af45 Bump elastica version 2014-03-14 08:59:59 +11:00
Tim Nagel 6cd69ad131 Merge pull request #361 from xphere-forks/master
Add support for include_in_parent and include_in_root options
2014-03-14 08:53:42 +11:00
Tim Nagel 7cf8cd446f Merge pull request #501 from FriendsOfSymfony/reset-type-ignore-type-missing-exception
Ignore TypeMissingException when resetting a single type. This allows to...
2014-03-14 08:48:59 +11:00
Tim Nagel 6beafd23f1 Merge pull request #494 from bastnic/patch-1
[doc] inform about the override of Elastica logger
2014-03-14 08:44:06 +11:00
Tim Nagel da0abca38c Merge pull request #487 from XWB/logger-cleanup
ElasticaLogger cleanup
2014-03-14 08:43:42 +11:00
Tim Nagel 48edc195cd Merge pull request #484 from bits4breakfast/containeraware-callback
Container is now available in Callback
2014-03-14 08:41:15 +11:00
Lea Haensenberger 2f9896c893 Check for TypeMissingException anywhere in exception message 2014-03-13 10:45:57 +01:00
Lea Haensenberger 726892c586 Ignore TypeMissingException when resetting a single type. This allows to create new types without having to recreate the whole index. 2014-03-13 10:43:35 +01:00
Lukas Kahwe Smith 33f85bec22 Merge pull request #499 from mvrhov/patch-2
Fix wrong annotation
2014-03-11 15:18:36 +01:00
Miha Vrhovnik fe871c5ac4 Fix wrong annotation 2014-03-11 14:50:00 +01:00
Ray 0116a6ac4f Add support for clients requiring basic HTTP authentication 2014-03-06 12:38:23 -04:30
Berny Cantos 7f53badad5 Add support for include_in_{parent,root} for nested and objects 2014-03-06 12:31:50 +01:00
Bastien Jaillot a1f7449efc [doc] inform about the override of Elastica logger
Add a documentation related to this change: https://github.com/FriendsOfSymfony/FOSElasticaBundle/pull/395#issuecomment-27729759
2014-03-05 16:13:51 +01:00
Tim Nagel 245732781b Merge pull request #493 from tgallice/url_parameter_fix
Rework configuration validation to fix #461
2014-03-05 09:12:44 +11:00