Commit graph

704 commits

Author SHA1 Message Date
Simon Perdrisat
1c7da33526 [doc] repository methode has to return the query 2014-01-28 11:34:54 +01:00
Tim Nagel
ef872dd22d Merge pull request #439 from FriendsOfSymfony/type-timestamp
Adding support for enabling timestamps
2014-01-20 12:57:02 -08:00
Tim Nagel
f0f6fc8129 Merge pull request #441 from klmatom/master
Add similarity as a valid field mapping.  http://www.elasticsearch.org/g...
2014-01-20 12:56:47 -08:00
Tim Nagel
b6d0627c2a Merge pull request #440 from vermi0ffh/master
A simple change in conf def for easier allowing new type through prependExtensionConfig()
2014-01-20 12:52:56 -08:00
Tom A
4287a91d50 Add similarity as a valid field mapping. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#similarity 2014-01-16 23:05:44 -05:00
Vermi
73ee750515 Removing "->performNoDeepMerging()"in indexes configuration, allowing custom Bundle defining new types in an existing index.
Configuration is injected in the new Bundle using prependExtensionConfig()
2014-01-10 16:25:45 +01:00
Lea Haensenberger
274fc00991 Add store and index options to timestamp 2014-01-06 10:19:11 +01:00
Lea Haensenberger
4ee81dc010 Adding support for enabling timestamps 2014-01-06 09:20:44 +01:00
Tim Nagel
d33c5d0ece Fix tests 2013-12-17 21:38:08 +11:00
Tim Nagel
21f688e014 Merge pull request #433 from FriendsOfSymfony/fix-reset-command
Fix reset command
2013-12-17 02:34:00 -08:00
Tim Nagel
a2d4070fdc Merge pull request #429 from craigmarvelley/improve-code-coverage
Improve test coverage
2013-12-17 02:33:29 -08:00
Lea Haensenberger
e906d780ad Adding tests 2013-12-16 12:06:53 +01:00
Lea Haensenberger
05ee300ddb Fixing reset command to allow resetting of just one type, starting to write test 2013-12-16 11:58:58 +01:00
Tim Nagel
f565ec5638 Merge pull request #432 from hardchor/duplicate-code-removal
Removed duplicate methods
2013-12-12 15:07:28 -08:00
Craig Marvelley
292af9f039 Better variable names 2013-12-12 22:57:02 +00:00
Burkhard Reffeling
e0ef8dff23 removed duplicate methods 2013-12-12 22:41:20 +00:00
Craig Marvelley
5d16ffb1bf Remove unused method 2013-12-12 20:50:15 +00:00
Craig Marvelley
11a87c5ce3 Add test for ElasticaToModelTransformerCollection::hybridTransform 2013-12-12 20:48:15 +00:00
Craig Marvelley
090f02b05d Improve test coverage 2013-12-12 11:11:34 +00:00
Tim Nagel
6c4740b292 Merge pull request #423 from FriendsOfSymfony/dynamic-templates
Apply same mapping logic to dynamic templates...
2013-12-11 02:17:52 -08:00
Lea Haensenberger
a59385af7b Do not set default value to *, might conflict when using e.g. path_match and match_pattern regex together 2013-12-10 15:37:41 +01:00
Lea Haensenberger
0aa98d2295 Fixing copy&paste error 2013-12-10 15:21:46 +01:00
Lea Haensenberger
e55c7e8632 Set match to '*' by default 2013-12-10 15:21:46 +01:00
Lea Haensenberger
09031457cd Allow more matching methods 2013-12-10 15:21:46 +01:00
Lea Haensenberger
bad1769c84 Fixing tests 2013-12-10 15:21:46 +01:00
Lea Haensenberger
eaf52fa907 Allow a more dynamic mapping for dynamic templates 2013-12-10 15:21:46 +01:00
leahaense
ab792952c1 Merge pull request #425 from cs-daniel/patch-1
Fix client configuration missing logger
2013-12-10 05:12:18 -08:00
Császár Dániel
e16ece821d Fix client configuration missing logger 2013-12-10 13:54:50 +01:00
Tim Nagel
70e6cb2e7e Fix issue with logger not having logQuery method 2013-12-10 21:25:38 +11:00
Tim Nagel
da44ee65f6 Merge pull request #395 from pierredup/logger
Add option to enable logger and define logger class
2013-12-10 02:17:10 -08:00
Tim Nagel
e1ed7bdc67 Merge pull request #420 from FriendsOfSymfony/all-field-config
Add support to disable the _all field for a type
2013-12-10 02:16:23 -08:00
Tim Nagel
8668537740 Merge pull request #400 from cordoval/cleanups
clean ups
2013-12-10 02:15:53 -08:00
Jeremy Mikola
21474b844b Merge pull request #403 from cordoval/patch-1
typo
2013-12-10 00:25:55 -08:00
Tim Nagel
fc64078575 Merge pull request #413 from damienalexandre/serializer-integration
Serializer support in providers and mapping configuration fixes
2013-12-09 12:35:26 -08:00
Tim Nagel
4addb0d66f Merge pull request #421 from damienalexandre/profiler-curl
[Feature] Allow to display a run-able cURL query in the web profiler
2013-12-09 12:33:02 -08:00
Damien Alexandre
1ddd7c0e0c Store connection infos for all transports, display infos in debug 2013-12-09 14:46:06 +01:00
Damien Alexandre
ca507a5e34 Add full_host in logger for HTTP(s) queries 2013-12-09 10:40:47 +01:00
Damien Alexandre
c97a4abceb Add display cURL on the web debug queries shower 2013-12-09 10:09:36 +01:00
Lea Haensenberger
8f1b52328f Merge remote-tracking branch 'origin/master' into all-field-config
Conflicts:
	DependencyInjection/FOSElasticaExtension.php
2013-12-06 08:25:02 +01:00
Lea Haensenberger
08193ec2fd Add support to disable the _all field for a type 2013-12-05 16:35:30 +01:00
Pierre du Plessis
759950aff6 Add option to disable logger or specify different logger service 2013-12-04 22:09:27 +02:00
Richard Miller
a227a3f076 Merge branch '2.1.x' 2013-12-04 08:03:04 +00:00
Richard Miller
2980ee818a Merge branch '2.0.x' into 2.1.x 2013-12-04 08:02:22 +00:00
Richard Miller
5a0d860786 Merge pull request #418 from blongden/2.0.x
Adds enabled mapping option (default true)
2013-12-04 00:00:47 -08:00
Ben Longden
8b6dffbc14 Adds enabled mapping option (default true) 2013-12-04 07:53:08 +00:00
Damien Alexandre
8a4848a16d Add UPGRADE-3.0.md file with descriptions of new features / changes 2013-12-02 22:35:50 +01:00
Damien Alexandre
25e59a311b Fix Persister constructor and undefined property 2013-12-02 22:26:30 +01:00
Damien Alexandre
cf3e35e892 Remove extra line-break 2013-12-02 22:15:11 +01:00
Damien Alexandre
3027c687e2 Ref #341, fix the insertMany method to use Bulk indexing
To make it works, I inject the serializer defined for the Type
into the fos_elastica.object_serializer_persister service.

This is the SAME service injected in the setSerializer of Type.

We deport the handling of serialization outside Elastica,
this is not so good but we need to build our own Documents to
get the ID's correctly.
2013-11-29 15:35:59 +01:00
Damien Alexandre
2862259d8e Allow empty or null or no mappings: key under type configuration
refs #300. This commit allow to define types without having to
set any mapping as Elasticsearch build his own.

The minimal config become:

    indexes:
        toto:
            client: default
            types:
                Article:
                    mappings: ~
                    ...
2013-11-29 14:59:56 +01:00