Ben Longden
8b6dffbc14
Adds enabled mapping option (default true)
2013-12-04 07:53:08 +00:00
Tim Nagel
21ce3cf6ff
Fix definition decorators ( closes #393 )
2013-11-01 09:15:38 +11:00
Jeremy Mikola
74d993b642
Do not clobber existing client definitions ( closes #336 and #324 )
...
While we could have used an abstract definition, its ID would likely conflict with the alias we set for the default client. Remove the abstract definition altogether and simply construct new definitions for each client. This resolves the previous issue where multiple clients would overwrite the constructor arguments of the previous definition.
2013-10-30 15:15:26 -04:00
Jeremy Mikola
604193396f
Remove "prototype" from abstract definition IDs; note possible conflicts
...
Due to the naming of transformer, listener, and finder services, it's possible for index/type services to clobber the ID of another concrete or abstract service. This cannot be helped without breaking BC, but we should note it within the extension class.
2013-10-30 15:15:25 -04:00
Thomas Tourlourat
4b4a56db1e
Check for "indexes" key in Configuration::getNestings()
2013-04-17 11:23:30 -04:00
Jeremy Mikola
440c36f537
Merge remote-tracking branch 'cevou/master' into pr/245
...
Conflicts:
Command/PopulateCommand.php
Command/SearchCommand.php
DependencyInjection/Configuration.php
Doctrine/AbstractElasticaToModelTransformer.php
Doctrine/AbstractListener.php
Doctrine/MongoDB/ElasticaToModelTransformer.php
Doctrine/ORM/ElasticaToModelTransformer.php
Doctrine/RepositoryManager.php
Finder/TransformedFinder.php
Paginator/PaginatorAdapterInterface.php
Paginator/RawPaginatorAdapter.php
Persister/ObjectPersister.php
Propel/ElasticaToModelTransformer.php
Subscriber/PaginateElasticaQuerySubscriber.php
Tests/DataCollector/ElasticaDataCollectorTest.php
Tests/Doctrine/AbstractProviderTest.php
Tests/Doctrine/RepositoryManagerTest.php
Tests/Manager/RepositoryManagerTest.php
Tests/RepositoryTest.php
Transformer/ElasticaToModelTransformerCollection.php
composer.json
2013-03-27 14:58:34 -04:00
Jeremy Mikola
744f05814a
Merge branch '1.0.x'
2013-03-27 13:58:57 -04:00
Jeremy Mikola
4aa8fefe2d
Rename FOQ filenames to FOS
2013-03-27 13:58:32 -04:00
Jeremy Mikola
49de4d361d
Rename FOQ namespaces and services to FOS
2013-03-27 13:44:44 -04:00
Jeremy Mikola
3fb9aaa56a
Rename FOQ namespaces and services to FOS
2013-03-27 13:44:06 -04:00
Stanislav Petrov
3f93f93a45
Changed configuration to implement ConfigurationInterface
2013-03-15 14:54:48 -04:00
skuro
904a664dfe
Allow processing of null mappings in configuration
2013-03-15 14:35:01 -04:00
Konstantin Tjuterev
5e835f5b2c
Added missing string field attributes, according to http://www.elasticsearch.org/guide/reference/mapping/core-types.html
2013-03-05 15:06:11 +02:00
Jeremy Mikola
8d11082a02
Skip config processing of indexes without types ( fixes #246 )
2013-03-04 14:59:04 -05:00
Jeremy Mikola
eff52c2c9b
Revert "fix search command"
...
This reverts commit f874e1d34f
from PR #243 .
2013-03-04 14:57:08 -05:00
cevou
cbe6071969
Code cleanup
...
- updated deprecated calls
- cleaned up PHPDoc comments
2013-03-02 12:23:44 +01:00
Uyi Ehondor
f874e1d34f
fix search command
...
The bug:
The Search command throws an invalid argument exception when the index
alias and the index_name are different (see pull request 207 for a
background about the issue).
Fix:
The first argument of the index manager should be an array of index
objects having index names as keys, and should only fall back to using index aliases
if the index_name config param is not set.
See: pull request 207
(https://github.com/Exercise/FOQElasticaBundle/pull/207 ) for a background
on the issue.
2013-02-26 10:50:33 +00:00
Lea Haensenberger
7e85f79f8e
Merge remote-tracking branch 'origin/master' into recursive_field_config
...
Conflicts:
DependencyInjection/Configuration.php
2013-02-22 10:46:43 +01:00
Richard Miller
48d665e2ea
Merge pull request #211 from liip-forks/fields_in_properties
...
Adding the fields configuration to the properties so multi_field fields ...
2013-02-03 11:49:51 -08:00
Richard Miller
c82999fd8e
Merge pull request #204 from micjohnson/patch-4
...
Add access to compression and disabling of _source from configuration
2013-02-03 11:45:37 -08:00
Richard Miller
bfb0f823c1
Merge pull request #203 from micjohnson/patch-3
...
Adding _routing to type configuration
2013-02-03 11:44:51 -08:00
Richard Miller
94d89159bd
Merge pull request #207 from Exercise/index-aliasing
...
Adding configuring index name separately from service name
2013-02-03 11:32:37 -08:00
Lea Haensenberger
71ccacc6b3
using getConfiguration and removing unnecessary end statements
2013-02-01 15:37:57 +01:00
Lea Haensenberger
decd8a318d
fixing CS problems
2013-02-01 14:55:59 +01:00
Jeremy Mikola
3cfa2c1ef6
Merge pull request #192 from kibao/fix-custom-finder
...
Fix register custom finder for entity
2013-01-30 13:44:27 -08:00
Przemysław Piechota
10ce9a6d0a
CS
2013-01-30 22:24:19 +01:00
Lea Haensenberger
02f3281a7a
Fixing wrong default value
2013-01-28 11:55:54 +01:00
Lea Haensenberger
869b8b734e
Using the config array to determine the needed nesting levels, building the config tree based on that
2013-01-28 11:53:50 +01:00
Lea Haensenberger
4055ff305f
Adding the fields configuration to the properties so multi_field fields can also be defined in properties
2013-01-10 15:00:21 +01:00
Lea Haensenberger
2119a4b39f
Adding support for infinite nesting level in field configurations
2013-01-10 12:25:34 +01:00
Richard Miller
93236752c4
Adding configuring index name separately from service name
2013-01-04 14:02:50 +00:00
micjohnson
b2314f21c6
Update DependencyInjection/Configuration.php
...
add access to compression and disabling of _source
2012-12-12 07:49:37 -08:00
micjohnson
d9367c7ed8
Update DependencyInjection/FOQElasticaExtension.php
2012-12-12 06:25:55 -08:00
micjohnson
ea921c8abe
Update DependencyInjection/Configuration.php
...
Adding _routing for types
2012-12-12 06:23:54 -08:00
daFish
e5fef260f2
Changed servers to numeric indexes instead of associative indexes
2012-11-29 10:00:51 +01:00
Richard Miller
1bcc518b31
Merge pull request #191 from odolbeau/feat-nodes
...
Allow multiple servers in configuration
2012-11-28 13:19:01 -08:00
Julien Muetton
23f591bf01
allow _parent mapping
2012-11-26 13:50:14 +01:00
Julien Muetton
679480e496
add ability to configure nested mapping
...
``` yaml
foq_elastica:
clients:
default: { host: localhost, port: 9200 }
indexes:
website:
client: default
types:
product:
mappings:
name: { type: string }
price: { type: float}
specifications:
type: object
properties:
name: {type: string}
value: {type: string, analyzer: keyword}
```
2012-11-22 14:33:49 +01:00
Przemysław Piechota
e2cc4f965b
Fix register custom finder for entity
2012-11-22 11:30:13 +01:00
Olivier Dolbeau
58eaf6b03e
Allow multiple servers in configuration
2012-11-05 11:00:27 +01:00
Francisco Facioni
f4c0a4abda
adds to the config the index parameter, needed for disabling the analyzer or the indexing
2012-10-15 17:18:04 -03:00
Jeremy Mikola
7bee84e2fa
Merge branch '2.0'
2012-10-03 10:49:05 -04:00
Robin van der Vleuten
bb6a3cf08d
Allow providing a URL or host and port for client configurations
2012-10-03 10:48:24 -04:00
Ad van der Veer
d49c530c55
Updated the DoctrineMongoDB event subscriber tag
2012-10-01 15:46:02 -04:00
predakanga
70c629f857
Added configuration options to support index-time document boosting
2012-08-09 13:49:04 +10:00
Richard Miller
123da22ebd
Merge remote-tracking branch 'Fran6co/imp-lat_lon'
...
Conflicts:
DependencyInjection/Configuration.php
2012-08-02 14:54:49 +01:00
Richard Miller
f0c4cb23e3
Merge pull request #142 from korstiaan/include_in_all
...
Added `include_in_all` as mapping property
2012-08-02 05:56:18 -07:00
Korstiaan de Ridder
dbf0e27386
Added include_in_all as mapping property
2012-08-01 13:52:08 +02:00
Francisco Facioni
f58cf6e63c
adds support for lat_lon flag as specified in http://www.elasticsearch.org/guide/reference/mapping/geo-point-type.html
2012-07-25 18:29:35 -03:00
Richard Miller
7a8664727c
Merge remote-tracking branch 'origin/attachment_type_transformation'
...
Conflicts:
Tests/Transformer/ModelToElasticaAutoTransformerTest.php
Transformer/ModelToElasticaAutoTransformer.php
2012-07-08 15:38:09 +01:00